Refactor keyword parsing/rendering & add support for ATTR_HTML
This commit is contained in:
parent
a859264420
commit
81f74f4ad9
9 changed files with 169 additions and 76 deletions
13
org/testdata/keywords.org
vendored
Normal file
13
org/testdata/keywords.org
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
#+CAPTION: and _multiple_
|
||||
#+CAPTION: lines of *captions*!
|
||||
#+ATTR_HTML: :class "a b c"
|
||||
#+ATTR_HTML: :id it
|
||||
#+BEGIN_SRC sh
|
||||
echo "a bash source block with custom html attributes"
|
||||
#+END_SRC
|
||||
|
||||
and an image with custom html attributes and a caption
|
||||
#+CAPTION: kittens!
|
||||
#+ATTR_HTML: :style "border: 10px solid black"
|
||||
[[http://placekitten.com/200/200#.png]]
|
Loading…
Add table
Add a link
Reference in a new issue