...

Text file src/github.com/yuin/goldmark/extension/_test/footnote.txt

Documentation: github.com/yuin/goldmark/extension/_test

     11
     2//- - - - - - - - -//
     3That's some text with a footnote.[^1]
     4
     5[^1]: And that's the footnote.
     6
     7    That's the second paragraph.
     8//- - - - - - - - -//
     9<p>That's some text with a footnote.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
    10<div class="footnotes" role="doc-endnotes">
    11<hr>
    12<ol>
    13<li id="fn:1">
    14<p>And that's the footnote.</p>
    15<p>That's the second paragraph.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
    16</li>
    17</ol>
    18</div>
    19//= = = = = = = = = = = = = = = = = = = = = = = =//
    20
    213
    22//- - - - - - - - -//
    23[^000]:0	[^]:
    24//- - - - - - - - -//
    25//= = = = = = = = = = = = = = = = = = = = = = = =//
    26
    274
    28//- - - - - - - - -//
    29This[^3] is[^1] text with footnotes[^2].
    30
    31[^1]: Footnote one
    32[^2]: Footnote two
    33[^3]: Footnote three
    34//- - - - - - - - -//
    35<p>This<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> is<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup> text with footnotes<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup>.</p>
    36<div class="footnotes" role="doc-endnotes">
    37<hr>
    38<ol>
    39<li id="fn:1">
    40<p>Footnote three&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
    41</li>
    42<li id="fn:2">
    43<p>Footnote one&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
    44</li>
    45<li id="fn:3">
    46<p>Footnote two&#160;<a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
    47</li>
    48</ol>
    49</div>
    50//= = = = = = = = = = = = = = = = = = = = = = = =//
    51
    52
    535
    54//- - - - - - - - -//
    55test![^1]
    56
    57[^1]: footnote
    58//- - - - - - - - -//
    59<p>test!<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
    60<div class="footnotes" role="doc-endnotes">
    61<hr>
    62<ol>
    63<li id="fn:1">
    64<p>footnote&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
    65</li>
    66</ol>
    67</div>
    68//= = = = = = = = = = = = = = = = = = = = = = = =//
    69
    706: Multiple references to the same footnotes should have different ids
    71//- - - - - - - - -//
    72something[^fn:1]
    73
    74something[^fn:1]
    75
    76something[^fn:1]
    77
    78[^fn:1]: footnote text
    79//- - - - - - - - -//
    80<p>something<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
    81<p>something<sup id="fnref1:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
    82<p>something<sup id="fnref2:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
    83<div class="footnotes" role="doc-endnotes">
    84<hr>
    85<ol>
    86<li id="fn:1">
    87<p>footnote text&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a>&#160;<a href="#fnref1:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a>&#160;<a href="#fnref2:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
    88</li>
    89</ol>
    90</div>
    91//= = = = = = = = = = = = = = = = = = = = = = = =//

View as plain text