Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Sep 8, 2026

ADF node: bodiedRule

Node

Description

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.

Example

Java

1
2
bodiedRule("my-id").content(p("Section title"));

ADF

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"
        }
      ]
    }
  ]
}

Compatibility

Products

ConfluenceJira
❌ (stage-0, not yet rolled out to Jira)

Usage

Marks

❌ N/A

Attributes

AttributeTypeRequiredDescription
localIdstringUnique identifier for this node.
alignmentenum (start, center, end)Horizontal alignment of the label.
colorstring (hex)Colour of the rule line (e.g. #FF0000).
styleenum (solid, dashed, dotted, sketch, fade)Visual style of the rule.
weightnumber (1–3)Thickness of the rule.

Content

BodiedRuleContent — exactly one child node (paragraph or heading, no marks).

Structure

  • type - bodiedRule
  • attrs
    • localId – string
    • alignment? – enum (start | center | end)
    • color? – string (hex)
    • style? – enum (solid | dashed | dotted | sketch | fade)
    • weight? – number (1–3)
  • content - array(BodiedRuleContent)

Rate this page: