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