Add lossless inline-definition-footnote rendering for the OrgWriter

This commit is contained in:
Niklas Fasching 2018-12-02 17:24:10 +01:00
parent fc982125c9
commit a570fc736f
6 changed files with 49 additions and 29 deletions

View file

@ -65,7 +65,7 @@
<ul>
<li>normal footnote reference <sup class="footnote-reference"><a href="#footnote-1">1</a></sup></li>
<li>further references to the same footnote should not <sup class="footnote-reference"><a href="#footnote-1">1</a></sup> render duplicates in the footnote list</li>
<li>also inline footnotes are supported via <code class="verbatim">fn:2:inline definition</code>. But we won&#39;t test that because it would cause the output to look different from the input </li>
<li>inline footnotes are also supported via <sup class="footnote-reference"><a href="#footnote-2">2</a></sup>. </li>
</ul>
<div id="footnotes">
<h1 class="footnotes-title">Footnotes</h1>
@ -74,5 +74,8 @@
<sup id="footnote-1">1</sup>
<p>Foobar</p>
</div>
<div class="footnote-definition">
<sup id="footnote-2">2</sup>
the inline footnote definition</div>
</div>
</div>