46 lines
1.7 KiB
Markdown
46 lines
1.7 KiB
Markdown
Pandoc example
|
|
|
|
......
|
|
|
|
Here is a footnote reference,[^1] and another.[^longnote]
|
|
|
|
[^1]: Here is the footnote.
|
|
|
|
[^longnote]: Here's one with multiple blocks.
|
|
|
|
Subsequent paragraphs are indented to show that they
|
|
belong to the previous footnote.
|
|
|
|
{ some.code }
|
|
|
|
The whole paragraph can be indented, or just the first
|
|
line. In this way, multi-paragraph footnotes work like
|
|
multi-paragraph list items.
|
|
|
|
This paragraph won't be part of the note, because it
|
|
isn't indented.
|
|
|
|
......
|
|
|
|
<p data-sourcepos="1:1-1:57">Here is a footnote reference,<sup data-sourcepos="1:30-1:33" class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup> and another.<sup data-sourcepos="1:47-1:57" class="footnote-ref"><a href="#fn2" id="fnref2">[2]</a></sup></p>
|
|
<p data-sourcepos="16:1-17:15">This paragraph won't be part of the note, because it
|
|
isn't indented.</p>
|
|
<hr class="footnotes-sep">
|
|
<section class="footnotes">
|
|
<ol class="footnotes-list">
|
|
<li data-sourcepos="3:1-4:0" id="fn1" class="footnote-item">
|
|
<p data-sourcepos="3:7-3:27">Here is the footnote. <a href="#fnref1" class="footnote-backref">↩︎</a></p>
|
|
</li>
|
|
<li data-sourcepos="5:1-15:0" id="fn2" class="footnote-item">
|
|
<p data-sourcepos="5:14-5:45">Here's one with multiple blocks.</p>
|
|
<p data-sourcepos="7:5-8:32">Subsequent paragraphs are indented to show that they
|
|
belong to the previous footnote.</p>
|
|
<pre><code data-sourcepos="10:9-10:21">{ some.code }
|
|
</code></pre>
|
|
<p data-sourcepos="12:5-14:31">The whole paragraph can be indented, or just the first
|
|
line. In this way, multi-paragraph footnotes work like
|
|
multi-paragraph list items. <a href="#fnref2" class="footnote-backref">↩︎</a></p>
|
|
</li>
|
|
</ol>
|
|
</section>
|