File: position-placeholder-multiple.xml

package info (click to toggle)
php-league-commonmark 2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,264 kB
  • sloc: php: 20,396; xml: 1,988; ruby: 45; makefile: 21; javascript: 15
file content (68 lines) | stat: -rw-r--r-- 2,962 bytes parent folder | download | duplicates (3)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://commonmark.org/xml/1.0">
    <paragraph>
        <text>This is my document.</text>
    </paragraph>
    <table_of_contents type="bullet" tight="false">
        <item>
            <link destination="#content-another-copy-of-my-toc-is-here" title="">
                <text>Another copy of my TOC is here</text>
            </link>
            <list type="bullet" tight="false">
                <item>
                    <link destination="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" title="">
                        <text>This contains something that looks like a placeholder but actually isn't</text>
                    </link>
                </item>
                <item>
                    <link destination="#content-just-a-link-reference-down-here" title="">
                        <text>Just a link reference down here</text>
                    </link>
                </item>
            </list>
        </item>
    </table_of_contents>
    <heading level="1">
        <heading_permalink slug="another-copy-of-my-toc-is-here" />
        <text>Another copy of my TOC is here</text>
    </heading>
    <table_of_contents type="bullet" tight="false">
        <item>
            <link destination="#content-another-copy-of-my-toc-is-here" title="">
                <text>Another copy of my TOC is here</text>
            </link>
            <list type="bullet" tight="false">
                <item>
                    <link destination="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" title="">
                        <text>This contains something that looks like a placeholder but actually isn't</text>
                    </link>
                </item>
                <item>
                    <link destination="#content-just-a-link-reference-down-here" title="">
                        <text>Just a link reference down here</text>
                    </link>
                </item>
            </list>
        </item>
    </table_of_contents>
    <heading level="2">
        <heading_permalink slug="this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" />
        <text>This contains something that looks like a placeholder but actually isn't</text>
    </heading>
    <paragraph>
        <text>This is not a placeholder, but a link reference: </text>
        <link destination="https://www.example.com" title="Link Reference">
            <text>TOC</text>
        </link>
    </paragraph>
    <paragraph>
        <link destination="https://www.example.com" title="Link Reference">
            <text>TOC</text>
        </link>
        <text> This should also be handled as a link reference</text>
    </paragraph>
    <heading level="2">
        <heading_permalink slug="just-a-link-reference-down-here" />
        <text>Just a link reference down here</text>
    </heading>
</document>