Debian Codegraph @

tests/fixtures/extra/footnotes.html

raw
1 <p>This is the first paragraph.<sup class="footnote-ref" id="fnref-first"><a href="#fn-first">1</a></sup></p>
2
3 <ul>
4 <li>List item one.<sup class="footnote-ref" id="fnref-second"><a href="#fn-second">2</a></sup></li>
5 <li>List item two.<sup class="footnote-ref" id="fnref-third"><a href="#fn-third">3</a></sup></li>
6 </ul>
7
8 <h1>Header<sup class="footnote-ref" id="fnref-fourth"><a href="#fn-fourth">4</a></sup></h1>
9
10 <p>Some paragraph with a footnote<sup class="footnote-ref" id="fnref-1"><a href="#fn-1">5</a></sup>, and another<sup class="footnote-ref" id="fnref-2"><a href="#fn-2">6</a></sup>.</p>
11
12 <p>Another paragraph with a named footnote<sup class="footnote-ref" id="fnref-fn-name"><a href="#fn-fn-name">7</a></sup>.</p>
13
14 <p>This paragraph should not have a footnote marker since
15 the footnote is undefined.[^3]</p>
16
17 <p>This paragraph should not have a footnote marker since
18 the footnote has already been used before.[^1]</p>
19
20 <p>This paragraph links to a footnote with plenty of
21 block-level content.<sup class="footnote-ref" id="fnref-block"><a href="#fn-block">8</a></sup></p>
22
23 <p>This paragraph host the footnote reference within a
24 footnote test<sup class="footnote-ref" id="fnref-reference"><a href="#fn-reference">9</a></sup>.</p>
25
26 <div class="footnotes">
27 <hr>
28 <ol>
29
30 <li id="fn-first">
31 <p>This is the first note.<a href="#fnref-first" class="footnote">&#8617;</a></p>
32 </li>
33
34 <li id="fn-second">
35 <p>This is the second note.<a href="#fnref-second" class="footnote">&#8617;</a></p>
36 </li>
37
38 <li id="fn-third">
39 <p>This is the third note, defined out of order.<a href="#fnref-third" class="footnote">&#8617;</a></p>
40 </li>
41
42 <li id="fn-fourth">
43 <p>This is the fourth note.<a href="#fnref-fourth" class="footnote">&#8617;</a></p>
44 </li>
45
46 <li id="fn-1">
47 <p>Content for fifth footnote.<a href="#fnref-1" class="footnote">&#8617;</a></p>
48 </li>
49
50 <li id="fn-2">
51 <p>Content for sixth footnote spaning on
52 three lines, with some span-level markup like
53 <em>emphasis</em>, a <a href="http://www.michelf.com/">link</a>.<a href="#fnref-2" class="footnote">&#8617;</a></p>
54 </li>
55
56 <li id="fn-fn-name">
57 <p>Footnote beginning on the line next to the marker.<a href="#fnref-fn-name" class="footnote">&#8617;</a></p>
58 </li>
59
60 <li id="fn-block">
61 <p>Paragraph.</p>
62
63 <ul>
64 <li>List item</li>
65 </ul>
66
67 <blockquote>
68 <p>Blockquote</p>
69 </blockquote>
70
71 <pre><code>Code block
72 </code></pre>
73
74 <p><a href="#fnref-block" class="footnote">&#8617;</a></p>
75 </li>
76
77 <li id="fn-reference">
78 <p>This footnote attemps to refer to another footnote. This
79 should be impossible.[^impossible]<a href="#fnref-reference" class="footnote">&#8617;</a></p>
80 </li>
81
82 </ol>
83 </div>