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

18
org/testdata/keywords.html vendored Normal file
View file

@ -0,0 +1,18 @@
<figure>
<div class="highlight" class="a b c" id="it">
<pre>echo &#34;a bash source block with custom html attributes&#34;
</pre>
</div>
<figcaption>
and <span style="text-decoration: underline;">multiple</span> lines of <strong>captions</strong>!
</figcaption>
</figure>
<p>
and an image with custom html attributes and a caption
</p>
<figure>
<img src="http://placekitten.com/200/200#.png" alt="http://placekitten.com/200/200#.png" title="http://placekitten.com/200/200#.png" style="border: 10px solid black"/>
<figcaption>
kittens!
</figcaption>
</figure>