A horizontal rule with an optional label — a single paragraph or heading (without marks) that serves as a section divider with a title. Stage 0 only.
1 2bodiedRule("my-id").content(p("Section title"));
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18{ "type": "bodiedRule", "attrs": { "localId": "my-id" }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Section title" } ] } ] }
| Confluence | Jira |
|---|---|
| ✅ | ❌ (stage-0, not yet rolled out to Jira) |
❌ N/A
| Attribute | Type | Required | Description |
|---|---|---|---|
localId | string | ✅ | Unique identifier for this node. |
alignment | enum (start, center, end) | ❌ | Horizontal alignment of the label. |
color | string (hex) | ❌ | Colour of the rule line (e.g. #FF0000). |
style | enum (solid, dashed, dotted, sketch, fade) | ❌ | Visual style of the rule. |
weight | number (1–3) | ❌ | Thickness of the rule. |
BodiedRuleContent — exactly one child node (paragraph or heading, no marks).
bodiedRulestart | center | end)solid | dashed | dotted | sketch | fade)Rate this page: