2.4.0
Breaking change
- fix(highlight): use
<div>
when wrap is disabled @curbengh [#229]- when
wrap
is disabled:
# _config.yml highlight: wrap: false # defaults to true
- previously, caption is rendered as:
<pre> <figcaption>caption</figcaption> <code></code> </pre>
- it's now rendered as:
<pre> <div class="caption">caption</div> <code></code> </pre>
- you can style it by:
pre div.caption { font-size: 0.9em; color: #888; } pre div.caption a { float: right; }
- when