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 mark: annotation

Mark

Usage

Description

The annotation mark shows the presence of an annotation or comment on a node. Confluence uses annotation marks to indicate when a selection from the text has an associated inline comment.

Example

Java

1
2
3
4
5
6
p(
        text("hello "),
        text("there")
                .mark(inlineComment("123456"))
);

ADF

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "type": "paragraph",
  "content": [
    {
      "type": "text",
      "text": "hello "
    },
    {
      "type": "text",
      "text": "there",
      "marks": [
        {
          "type": "annotation",
          "attrs": {
            "id": "123456",
            "annotationType": "inlineComment"
          }
        }
      ]
    }
  ]
}

Compatibility

Products

ConfluenceJira

Nodes

Marks

✅ Not restricted

Structure

  • type - annotation
  • attrs
    • id - string
    • annotationType - inlineComment

Rate this page: