diff options
Diffstat (limited to 'tests/extensions/extra/footnote.html')
-rw-r--r-- | tests/extensions/extra/footnote.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/tests/extensions/extra/footnote.html b/tests/extensions/extra/footnote.html new file mode 100644 index 0000000..4d86421 --- /dev/null +++ b/tests/extensions/extra/footnote.html @@ -0,0 +1,71 @@ +<p>This is the body with a footnote<sup id="fnref:1"><a class="footnote-ref" href="#fn:1">1</a></sup> or two<sup id="fnref:2"><a class="footnote-ref" href="#fn:2">2</a></sup> or more<sup id="fnref:3"><a class="footnote-ref" href="#fn:3">3</a></sup> <sup id="fnref:4"><a class="footnote-ref" href="#fn:4">4</a></sup> <sup id="fnref:5"><a class="footnote-ref" href="#fn:5">5</a></sup>.</p> +<p>Also a reference that does not exist[^6].</p> +<p>Duplicate<sup id="fnref:a"><a class="footnote-ref" href="#fn:a">6</a></sup> footnotes<sup id="fnref2:a"><a class="footnote-ref" href="#fn:a">6</a></sup> test<sup id="fnref3:a"><a class="footnote-ref" href="#fn:a">6</a></sup>.</p> +<p>Duplicate<sup id="fnref:b"><a class="footnote-ref" href="#fn:b">7</a></sup> footnotes<sup id="fnref2:b"><a class="footnote-ref" href="#fn:b">7</a></sup> test<sup id="fnref3:b"><a class="footnote-ref" href="#fn:b">7</a></sup>.</p> +<p>Single after duplicates<sup id="fnref:c"><a class="footnote-ref" href="#fn:c">8</a></sup>.</p> +<p>Test emphasis at end of footnote<sup id="fnref:d"><a class="footnote-ref" href="#fn:d">9</a></sup></p> +<p>Complex footnote content<sup id="fnref:e"><a class="footnote-ref" href="#fn:e">10</a></sup></p> +<div class="footnote"> +<hr /> +<ol> +<li id="fn:1"> +<p>Footnote that ends with a list:</p> +<ul> +<li>item 1</li> +<li>item 2</li> +</ul> +<p><a class="footnote-backref" href="#fnref:1" title="Jump back to footnote 1 in the text">↩</a></p> +</li> +<li id="fn:2"> +<blockquote> +<p>This footnote is a blockquote.</p> +</blockquote> +<p><a class="footnote-backref" href="#fnref:2" title="Jump back to footnote 2 in the text">↩</a></p> +</li> +<li id="fn:3"> +<p>A simple oneliner. <a class="footnote-backref" href="#fnref:3" title="Jump back to footnote 3 in the text">↩</a></p> +</li> +<li id="fn:4"> +<p>A footnote with multiple paragraphs.</p> +<p>Paragraph two. <a class="footnote-backref" href="#fnref:4" title="Jump back to footnote 4 in the text">↩</a></p> +</li> +<li id="fn:5"> +<p>First line of first paragraph. +Second line of first paragraph is not intended. +Nor is third... <a class="footnote-backref" href="#fnref:5" title="Jump back to footnote 5 in the text">↩</a></p> +</li> +<li id="fn:a"> +<p>1 <a class="footnote-backref" href="#fnref:a" title="Jump back to footnote 6 in the text">↩</a><a class="footnote-backref" href="#fnref2:a" title="Jump back to footnote 6 in the text">↩</a><a class="footnote-backref" href="#fnref3:a" title="Jump back to footnote 6 in the text">↩</a></p> +</li> +<li id="fn:b"> +<p>2 <a class="footnote-backref" href="#fnref:b" title="Jump back to footnote 7 in the text">↩</a><a class="footnote-backref" href="#fnref2:b" title="Jump back to footnote 7 in the text">↩</a><a class="footnote-backref" href="#fnref3:b" title="Jump back to footnote 7 in the text">↩</a></p> +</li> +<li id="fn:c"> +<p>3 <a class="footnote-backref" href="#fnref:c" title="Jump back to footnote 8 in the text">↩</a></p> +</li> +<li id="fn:d"> +<p><em>emphasis works</em></p> +<p><em>emphasis still works</em> <a class="footnote-backref" href="#fnref:d" title="Jump back to footnote 9 in the text">↩</a></p> +</li> +<li id="fn:e"> +<ol> +<li> +<p>The top couple half figure, contrary sides and hands across with bottom couple,</p> +<p>Half figure back on your own sides, and turn partner to places,</p> +<p>Swing partners with right hands into straight line long-ways, as in a reel, and</p> +<p>Set,</p> +<p>Hey and return to places,</p> +<p>The other three couples do the same.</p> +</li> +<li> +<p>Top and bottom couples meet and set,</p> +<p>Then each gentleman leas the opposite lady to the couple on his left, and set,</p> +<p>Aach four right and left,</p> +<p>Swing side couples to places, and turn partners all eight,</p> +<p>The other two couple o the same.</p> +</li> +</ol> +<p><a class="footnote-backref" href="#fnref:e" title="Jump back to footnote 10 in the text">↩</a></p> +</li> +</ol> +</div>
\ No newline at end of file |