The rule node represents a divider. It is equivalent to the HTML <hr> tag.
1 2 3 4 5 6doc( p("Hello"), hr(), p("World") );
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{ "version": 1, "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello" } ] }, { "type": "rule" }, { "type": "paragraph", "content": [ { "type": "text", "text": "World" } ] }, ] }
Hello
World
| Confluence | Jira |
|---|---|
| ✅ | ✅ |
❌ N/A
| Attribute | Type | Required | Description |
|---|---|---|---|
localId | string | ❌ | Unique identifier for this node. When present, typically a random UUID (not enforced by the schema). |
color | string (hex) | ❌ | Stage 0 only. Colour of the rule line (e.g. #FF0000). |
style | enum | ❌ | Stage 0 only. Visual style of the rule: solid, dashed, dotted, sketch, fade. |
weight | number (1–3) | ❌ | Stage 0 only. Thickness of the rule. |
ruleRate this page: