Refactor keyword parsing/rendering & add support for ATTR_HTML

This commit is contained in:
Niklas Fasching 2018-12-11 17:30:02 +01:00
parent a859264420
commit 81f74f4ad9
9 changed files with 169 additions and 76 deletions

View file

@ -5,9 +5,12 @@ Anything can be captioned. Also captions are not real, correct captions but just
echo "i have a caption!"
#+END_SRC
#+CAPTION: captioned link (video in this case)
[[my-video.mp4]]
note that only that one line is captioned, not the whole paragraph
#+CAPTION: captioned link (image in this case)
[[http://placekitten.com/200/200#.png]]
note that the whole paragraph is captioned, so a linebreak is needed for images to caption correctly
#+CAPTION: captioned link (image in this case)
[[http://placekitten.com/200/200#.png]]
see?
#+CAPTION: not happening!
also, normal text lines can't be captioned