Add md-footnote
This commit is contained in:
21
crates/lib/md-footnote/tests/fixtures/inline-1.md
vendored
Normal file
21
crates/lib/md-footnote/tests/fixtures/inline-1.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
We support inline notes too (pandoc example)
|
||||
|
||||
......
|
||||
|
||||
Here is an inline note.^[Inlines notes are easier to write, since
|
||||
you don't have to pick an identifier and move down to type the
|
||||
note.]
|
||||
|
||||
......
|
||||
|
||||
<p data-sourcepos="1:1-3:6">Here is an inline note.<sup class="footnote-ref"><a href="#fn1" id="fnref1">[1]</a></sup></p>
|
||||
<hr class="footnotes-sep">
|
||||
<section class="footnotes">
|
||||
<ol class="footnotes-list">
|
||||
<li id="fn1" class="footnote-item">
|
||||
<p>Inlines notes are easier to write, since
|
||||
you don't have to pick an identifier and move down to type the
|
||||
note. <a href="#fnref1" class="footnote-backref">↩︎</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</section>
|
||||
Reference in New Issue
Block a user