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: link

Mark

Usage

Description

The link mark turns the marked item into a hyperlink. Unlike most other text marks, this mark may also be used on media nodes to turn the image into a link.

Example

Java

1
2
3
4
5
    text("Hello world").mark(
            link("http://atlassian.com")
                    .title("Atlassian")
    )

ADF

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "type": "text",
  "text": "Hello world",
  "marks": [
    {
      "type": "link",
      "attrs": {
        "href": "http://atlassian.com",
        "title": "Atlassian"
      }
    }
  ]
}

Result

Hello world

Compatibility

Products

ConfluenceJira

Nodes

⚠️ mediaSingleDEPRECATED: Place the link on its media node, instead

Marks

  • ✅ Not restricted

Structure

  • type - link
  • attrs
    • collection? - string
    • href - string (URI)
    • id? - string
    • occurenceKey? - string
    • title? - string

Rate this page: