Jira Cloud platform Developer

Jira Cloud platform Developer

Rate this page:

Mark - subsup

Purpose

The subsup mark sets superscript or subscript styling. This mark applies to text nodes.

Example

1
2
3
4
5
6
7
8
9
10
11
12
{
  "type": "text",
  "text": "Hello world",
  "marks": [
    {
      "type": "subsup",
      "attrs": {
        "type": "sub"
      }
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"subsup"
attrsobject
attrs.typestring"sup" or "sub"

Rate this page: