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 1, 2026

ADF node: heading

Node

Description

Represents a topic heading, as for the <h1> through <h6> tags used in HTML.

Example

Java

1
2
h4("Heading 4");

ADF

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "type": "heading",
  "attrs": {
    "level": 1
  },
  "content": [
    {
      "type": "text",
      "text": "Heading 4"
    }
  ]
}

Result

Heading 4

Compatibility

Products

ConfluenceJira

Usage

Marks

Structure

  • type - heading
  • content? - array(InlineContent..,)
  • attrs
    • level - int – from 1 to 6
    • localId? - string (should not be empty, and likely to be a UUID, but neither is enforced)
  • marks? - array(PositionMark?)

Rate this page: