- Rendering:
- Avoid page break before or after a separating rule.
- Add support for syntect for
syntax highlighting. This is activated by setting
rendering.highlight
tosyntect
(see below). - EPUB:
- Set back HTML escape of narrow non-breaking spaces to
true
by default (it caused problems on some readers, but cause
much more serious one iffalse
). - Add more information to guide/nav landmarks.
- Set back HTML escape of narrow non-breaking spaces to
- LaTeX/PDF:
- Improve the way code blocks are displayed, using the
mdframed
package. - Try to reduce the issues of too long lines when using code
and code blocks, by inserting\allowbreak{}
directive
after some characters (.
,/
,_
, ...). - Block quotes are now displayed in italics.
- Tables now use
tabularx
, which allows to break too long
lines (it still doesn't break pages, though).
- Improve the way code blocks are displayed, using the
- New options:
rendering.highlight
can be set tonone
,highlight.js
(by
default, enables syntax highlighting via Javascript, but only on
HTML document) orsyntect
(doesn't necessitate javascript, and
can work in EPUB or LaTeX, but more experimental at this point).
- Deprecated options:
html.highlight_code
(userendering.highlight
instead).
- Bugfixes:
- HTML (standalone): fix the template that contained invalid HTML code.