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:
Kisaragi Hiu 2022-07-18 03:56:15 +09:00
parent 9b56fc914c
commit ab8d3bc16a
No known key found for this signature in database
GPG key ID: 40ECBEAEA8775FC2
6 changed files with 97 additions and 2 deletions

9
org/testdata/hl-lines.org vendored Normal file
View file

@ -0,0 +1,9 @@
Lines in a source block can be highlighted with =:hl_lines=.
#+begin_src emacs-lisp :hl_lines 3-4
(+ 1 2)
(+ 1 2)
(+ 1 2)
(+ 1 2)
(+ 1 2)
#+end_src