The subsup mark sets superscript or subscript styling.
1 2 3 4 5 6 7 8p( text("Hello "), text("world").sub(), text(", what's "), text("up").sup(), text("?") )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42{ "type": "paragraph", "content": [ { "type": "text", "text": "Hello " }, { "type": "text", "text": "world", "marks": [ { "type": "subsup", "attrs": { "type": "sub" } } ] }, { "type": "text", "text": ", what's " }, { "type": "text", "text": "up", "marks": [ { "type": "subsup", "attrs": { "type": "sup" } } ] }, { "type": "text", "text": "?" } ] }
Hello world, what’s up?
| Confluence | Jira |
|---|---|
| ✅ | ✅ |
❌ code
subsupsub | supRate this page: