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
3
org/testdata/keywords.html
vendored
3
org/testdata/keywords.html
vendored
|
@ -1,8 +1,9 @@
|
|||
<figure>
|
||||
<div class="highlight a b c d" id="it">
|
||||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue