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.
19 lines
615 B
HTML
19 lines
615 B
HTML
<figure>
|
|
<pre class="src src-sh a b c d" id="it"><div class="highlight">
|
|
<pre>echo "a bash source block with custom html attributes"
|
|
</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>
|