File: setext-headings.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 (25 lines) | stat: -rw-r--r-- 908 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
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://commonmark.org/xml/1.0">
    <table_of_contents type="bullet" tight="false">
        <item>
            <link destination="#content-this-is-a-top-level" title="">
                <text>This is a top level</text>
            </link>
            <list type="bullet" tight="false">
                <item>
                    <link destination="#content-this-is-another-level" title="">
                        <text>This is another level</text>
                    </link>
                </item>
            </list>
        </item>
    </table_of_contents>
    <heading level="1">
        <heading_permalink slug="this-is-a-top-level" />
        <text>This is a top level</text>
    </heading>
    <heading level="2">
        <heading_permalink slug="this-is-another-level" />
        <text>This is another level</text>
    </heading>
</document>