|
1 |
| -<p>Here is a footnote reference,<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a> |
2 |
| -another,<a href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a>, |
| 1 | +<p>Here is a footnote reference,<sup><a href="#user-content-fn-1" id="user-content-fnref-1" data-footnote-ref aria-describedby="footnote-label">1</a></sup> |
| 2 | +another,<sup><a href="#user-content-fn-longnote" id="user-content-fnref-longnote" data-footnote-ref aria-describedby="footnote-label">2</a></sup>, |
3 | 3 | and optionally there are inline
|
4 | 4 | notes.^[you can type them inline, which may be easier, since you don’t
|
5 | 5 | have to pick an identifier and move down to type the note.]</p>
|
6 | 6 | <p>This paragraph won’t be part of the note, because it
|
7 | 7 | isn’t indented.</p>
|
8 |
| -<section class="footnotes" role="doc-endnotes"> |
9 |
| -<hr> |
| 8 | +<section data-footnotes class="footnotes"><h2 id="footnote-label" class="sr-only">Footnotes</h2> |
10 | 9 | <ol>
|
11 |
| -<li id="fn1" role="doc-endnote"> |
12 |
| -<p>Here is the footnote.<a href="#fnref1" class="footnote-back" role="doc-backlink">↩</a></p> |
| 10 | +<li id="user-content-fn-1"> |
| 11 | +<p>Here is the footnote. <a href="#user-content-fnref-1" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a></p> |
13 | 12 | </li>
|
14 |
| -<li id="fn2" role="doc-endnote"> |
| 13 | +<li id="user-content-fn-longnote"> |
15 | 14 | <p>Here’s one with multiple blocks.</p>
|
16 | 15 | <p>Subsequent paragraphs are indented to show that they
|
17 | 16 | belong to the previous footnote.</p>
|
18 | 17 | <pre><code>{ some.code }
|
19 | 18 | </code></pre>
|
20 | 19 | <p>The whole paragraph can be indented, or just the first
|
21 | 20 | line. In this way, multi-paragraph footnotes work like
|
22 |
| -multi-paragraph list items.<a href="#fnref2" class="footnote-back" role="doc-backlink">↩</a></p> |
| 21 | +multi-paragraph list items. <a href="#user-content-fnref-longnote" data-footnote-backref class="data-footnote-backref" aria-label="Back to content">↩</a></p> |
23 | 22 | </li>
|
24 | 23 | </ol>
|
25 | 24 | </section>
|
0 commit comments