Skip to content

0.1.12

Choose a tag to compare

@dereuromark dereuromark released this 14 Oct 14:45
4f85fe1

carve-php 0.1.12 makes Djot and Markdown import much more faithful, adds one roundtrip export option and tightens table spans.

Breaking

  • Markdown import reads *[TERM]: expansion as an abbreviation; pass convertAbbreviations: false for the old reading (#3327).
  • One roundtrip option (roundTripMode: true, carve --roundtrip) writes data-carve-* carriers, and HtmlToCarve drops trustedRoundTrip (#3145, #3081).
  • A bare <div class="line-block"> imports as an admonition, and AST JSON omits the default delim and bulletChar (#3324, #2986).
  • Alt text and quoted include paths resolve backslash escapes, so double a literal backslash. The rename warning is include-id-rename (#2951, #2954, markup-carve/carve#2772).

Fixes

  • Djot import keeps scopes, attributes, ownership, task markers and DIV openers as Djot reads them (#2962, #3402, #3421).
  • Markdown import and export keep front matter, table cells, titles, breaks and footnotes (#2943, #3104, #3399).
  • Table spans, continuation rows and container ownership follow the spec, and fmt writes them back unchanged (#3290, #3359, #3252).

Improvements

  • AST contract 1.1 adds table separator widths and cell_wrap nodes (#3093, #3335).
  • Task lists render class="task-list", and --smart-typography quotes-source keeps source quotes (#3071, #3067).
  • The new table-span-marker-blocked lint, and faster import and export on long documents (#3422, #3404).

Full Changelog: 0.1.11...0.1.12