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/headlines.html
vendored
2
org/testdata/headlines.html
vendored
|
@ -68,9 +68,11 @@ headline with custom status
|
|||
<p>
|
||||
it's possible to use <code class="verbatim">#+SETUPFILE</code> - in this case the setup file contains the following
|
||||
</p>
|
||||
<pre class="src src-org">
|
||||
<div class="highlight">
|
||||
<pre>
|
||||
#+TODO: TODO DONE CUSTOM
|
||||
#+EXCLUDE_TAGS: noexport custom_noexport
|
||||
</pre>
|
||||
</div>
|
||||
</pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue