| 1 |
<div id="outline-container-headline-1" class="outline-2"> |
| 2 |
<h2 id="headline-1"> |
| 3 |
captions, custom attributes and more |
| 4 |
</h2> |
| 5 |
<div id="outline-text-headline-1" class="outline-text-2"> |
| 6 |
<figure> |
| 7 |
<div class="src src-sh a b c d" id="it"> |
| 8 |
<div class="highlight"> |
| 9 |
<pre>echo "a bash source block with custom html attributes" |
| 10 |
</pre> |
| 11 |
</div> |
| 12 |
</div> |
| 13 |
<figcaption> |
| 14 |
and <span style="text-decoration: underline;">multiple</span> lines of <strong>captions</strong>! |
| 15 |
</figcaption> |
| 16 |
</figure> |
| 17 |
<p> |
| 18 |
and an image with custom html attributes and a caption</p> |
| 19 |
<figure> |
| 20 |
<img src="https://placekitten.com/200/200#.png" alt="https://placekitten.com/200/200#.png" title="https://placekitten.com/200/200#.png" style="height: 100%; border: 10px solid black;" id="kittens"/> |
| 21 |
<figcaption> |
| 22 |
kittens! |
| 23 |
</figcaption> |
| 24 |
</figure> |
| 25 |
<p>named paragraph</p> |
| 26 |
<div class="src src-text"> |
| 27 |
<div class="highlight"> |
| 28 |
<pre> |
| 29 |
named block |
| 30 |
</pre> |
| 31 |
</div> |
| 32 |
</div> |
| 33 |
<p>#not a comment because there's no space after the hashtag</p> |
| 34 |
</div> |
| 35 |
</div> |
| 36 |
<div id="outline-container-headline-2" class="outline-2"> |
| 37 |
<h2 id="headline-2"> |
| 38 |
table of contents |
| 39 |
</h2> |
| 40 |
<div id="outline-text-headline-2" class="outline-text-2"> |
| 41 |
<p>A table of contents can be rendered anywhere in the document by using</p> |
| 42 |
<div class="src src-org"> |
| 43 |
<div class="highlight"> |
| 44 |
<pre> |
| 45 |
#+TOC: headlines $n |
| 46 |
</pre> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
<p>Where <code class="verbatim">$n</code> is the max headline lvl that will be included. You can use <code class="verbatim">headlines 0</code> to include all headlines.</p> |
| 50 |
<nav> |
| 51 |
<ul> |
| 52 |
<li><a href="#headline-1">captions, custom attributes and more</a> |
| 53 |
</li> |
| 54 |
<li><a href="#headline-2">table of contents</a> |
| 55 |
</li> |
| 56 |
</ul> |
| 57 |
</nav> |
| 58 |
</div> |
| 59 |
</div> |