highlight: support highlighting lines in the default writer
The hl_lines key is specifically the same as Hugo's key.
This commit is contained in:
parent
9b56fc914c
commit
ab8d3bc16a
6 changed files with 97 additions and 2 deletions
12
org/testdata/hl-lines.html
vendored
Normal file
12
org/testdata/hl-lines.html
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<p>Lines in a source block can be highlighted with <code class="verbatim">:hl_lines</code>.</p>
|
||||
<div class="src src-emacs-lisp">
|
||||
<div class="highlight">
|
||||
<pre>
|
||||
(+ 1 2)
|
||||
(+ 1 2)
|
||||
(+ 1 2)
|
||||
(+ 1 2)
|
||||
(+ 1 2)
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue