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
18
org/testdata/keywords.html
vendored
Normal file
18
org/testdata/keywords.html
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<figure>
|
||||
<div class="highlight" class="a b c" id="it">
|
||||
<pre>echo "a bash source block with custom html attributes"
|
||||
</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>
|
Loading…
Add table
Add a link
Reference in a new issue