summaryrefslogtreecommitdiff
path: root/spec/fixtures/lib/kramdown/atlassian_document_format/link_mark.json
blob: bf6facf1b05fae6163aa456ac76ec0bab2971853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "This is a "
        },
        {
          "type": "text",
          "text": "link without title",
          "marks": [
            {
              "type": "link",
              "attrs": {
                "href": "http://example.com"
              }
            }
          ]
        },
        {
          "type": "text",
          "text": " and a "
        },
        {
          "type": "text",
          "text": "link with title",
          "marks": [
            {
              "type": "link",
              "attrs": {
                "href": "http://example.net",
                "title": "Link Title"
              }
            }
          ]
        }
      ]
    }
  ]
}