aboutsummaryrefslogtreecommitdiff
path: root/test/command/7884.md
blob: d6006a83166288320f1564f7bba79e0d38dbacad (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
```
% pandoc -f html+epub_html_exts -t native
<body epub:type="bodymatter">
<section id="chapter-1" class="level1" data-number="1">
<h1 data-number="1">Chapter 1</h1>
<p>Here is a footnote.<a href="#fn1" class="footnote-ref" id="fnref1" epub:type="noteref">1</a></p>
<p>Here is a second footnote.<a href="#fn2" class="footnote-ref" id="fnref2" epub:type="noteref">2</a></p>
</section>
<section class="footnotes footnotes-end-of-document" epub:type="footnotes">
<hr />
<ol>
<li id="fn1" epub:type="footnote"><p>This is a test<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn2" epub:type="footnote"><p>This is another test<a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
</body>
^D
[ Div
    ( "chapter-1"
    , [ "section" , "level1" ]
    , [ ( "number" , "1" ) ]
    )
    [ Header
        1
        ( "" , [] , [ ( "number" , "1" ) ] )
        [ Str "Chapter" , Space , Str "1" ]
    , Para
        [ Str "Here"
        , Space
        , Str "is"
        , Space
        , Str "a"
        , Space
        , Str "footnote."
        , Note
            [ Para
                [ Str "This"
                , Space
                , Str "is"
                , Space
                , Str "a"
                , Space
                , Str "test"
                ]
            ]
        ]
    , Para
        [ Str "Here"
        , Space
        , Str "is"
        , Space
        , Str "a"
        , Space
        , Str "second"
        , Space
        , Str "footnote."
        , Note
            [ Para
                [ Str "This"
                , Space
                , Str "is"
                , Space
                , Str "another"
                , Space
                , Str "test"
                ]
            ]
        ]
    ]
]

```