Make highlightCodeBlock render enclosing div tags on separate lines
This commit is contained in:
parent
53b61abfd0
commit
b1a03e2d27
6 changed files with 18 additions and 8 deletions
10
org/testdata/blocks.html
vendored
10
org/testdata/blocks.html
vendored
|
@ -1,12 +1,16 @@
|
|||
<div class="captioned">
|
||||
<div class="highlight"><pre>echo a bash source block</pre></div>
|
||||
<div class="highlight">
|
||||
<pre>echo a bash source block</pre>
|
||||
</div>
|
||||
<p class="caption">
|
||||
block!
|
||||
</p>
|
||||
</div>
|
||||
<div class="highlight"><pre>a source block without a language
|
||||
<div class="highlight">
|
||||
<pre>a source block without a language
|
||||
and a second line
|
||||
and a third one</pre></div>
|
||||
and a third one</pre>
|
||||
</div>
|
||||
<pre class="example">
|
||||
an example block
|
||||
with multiple lines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue