html: Wrap headline+content & headline content in containers

Org mode does it.
This commit is contained in:
Niklas Fasching 2020-06-29 16:48:46 +02:00
parent 55b149054d
commit add727c011
6 changed files with 171 additions and 1 deletions

View file

@ -6,9 +6,11 @@
</li>
</ul>
</nav>
<div id="outline-container-headline-1" class="outline-2">
<h2 id="headline-1">
Using some footnotes
</h2>
<div id="outline-text-headline-1" class="outline-text-2">
<ul>
<li>
<p>normal footnote reference <sup class="footnote-reference"><a id="footnote-reference-1" href="#footnote-1">1</a></sup> <sup class="footnote-reference"><a id="footnote-reference-2" href="#footnote-2">2</a></sup> <sup class="footnote-reference"><a id="footnote-reference-3" href="#footnote-3">3</a></sup> (footnote names can be anything in the format <code class="verbatim">[\w-]</code>)</p>
@ -30,12 +32,18 @@ Rather, they are gathered and exported at the end of the document in the footnot
<p>footnotes that reference a non-existant definition are rendered but log a warning <sup class="footnote-reference"><a id="footnote-reference-7" href="#footnote-7">7</a></sup></p>
</li>
</ul>
</div>
</div>
<div id="outline-container-headline-2" class="outline-2">
<h2 id="headline-2">
Footnotes
</h2>
<div id="outline-text-headline-2" class="outline-text-2">
<p>Please note that the footnotes section is not automatically excluded from the export like in emacs. <sup class="footnote-reference"><a id="footnote-reference-8" href="#footnote-8">8</a></sup></p>
<p>
this is not part of <sup class="footnote-reference"><a id="footnote-reference-8" href="#footnote-8">8</a></sup> anymore as there are 2 blank lines in between!</p>
</div>
</div>
<div class="footnotes">
<hr class="footnotes-separatator">
<div class="footnote-definitions">