cargo crowbook 0.11.1

latest releases: 0.16.1, 0.16.0, 0.15.2...
7 years ago
  • Rendering:
    • Avoid page break before or after a separating rule.
    • Add support for syntect for
      syntax highlighting. This is activated by setting
      rendering.highlight to syntect (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 if false).
      • Add more information to guide/nav landmarks.
    • 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).
  • New options:
    • rendering.highlight can be set to none, highlight.js (by
      default, enables syntax highlighting via Javascript, but only on
      HTML document) or syntect (doesn't necessitate javascript, and
      can work in EPUB or LaTeX, but more experimental at this point).
  • Deprecated options:
    • html.highlight_code (use rendering.highlight instead).
  • Bugfixes:
    • HTML (standalone): fix the template that contained invalid HTML code.

Don't miss a new crowbook release

NewReleases is sending notifications on new releases.