go-org-orgwiki/org/testdata/keywords.html
Niklas Fasching 37d33c1206 HTML export: Export src block language as css class
Org mode exports source blocks with the language as a css-class of the exported
source block - it's easy enough to do the same.
2019-07-07 10:19:24 +02:00

19 lines
615 B
HTML

<figure>
<pre class="src src-sh a b c d" id="it"><div class="highlight">
<pre>echo &#34;a bash source block with custom html attributes&#34;
</pre>
</div>
</pre>
<figcaption>
and <span style="text-decoration: underline;">multiple</span> lines of <strong>captions</strong>!
</figcaption>
</figure>
<p>
and an image with custom html attributes and a caption
</p>
<figure>
<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"/>
<figcaption>
kittens!
</figcaption>
</figure>