go-org-orgwiki/org/testdata/keywords.html
Niklas Fasching 97fe8b7850 html: Fix code block export (superfluous newlines)
I didn't consider that all newlines in the pre block will be printed and we
thus shouldn't wrap html that has it's tags on separate lines (i.e. contains
superfluous newlines) - wrapping in a div less accurately represents
org-html-export but it provides the same information and gives us more freedom
in the return value of HighlightCodeBlock as well as allowing us to keep the
html tags on new lines (consistency).
2019-07-28 16:40:09 +02:00

20 lines
616 B
HTML

<figure>
<div class="src src-sh a b c d" id="it">
<div class="highlight">
<pre>echo &#34;a bash source block with custom html attributes&#34;
</pre>
</div>
</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="https://placekitten.com/200/200#.png" alt="https://placekitten.com/200/200#.png" title="https://placekitten.com/200/200#.png" style="height: 100%; border: 10px solid black;" id="kittens"/>
<figcaption>
kittens!
</figcaption>
</figure>