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.
This commit is contained in:
parent
f1a747ad72
commit
37d33c1206
8 changed files with 30 additions and 2 deletions
2
org/testdata/captions.html
vendored
2
org/testdata/captions.html
vendored
|
@ -2,11 +2,13 @@
|
|||
Anything can be captioned.
|
||||
</p>
|
||||
<figure>
|
||||
<pre class="src src-sh">
|
||||
<div class="highlight">
|
||||
<pre>
|
||||
echo "i have a caption!"
|
||||
</pre>
|
||||
</div>
|
||||
</pre>
|
||||
<figcaption>
|
||||
captioned soure block
|
||||
</figcaption>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue