v0.10.0
Seven opt-in converter heuristics, each off by default, so a document converted with the defaults is byte-identical to 0.9.0.
Added
- Table column alignment (#175): with
table_column_align, the separator row carries the GFM alignment markers (:---,---:,:---:) detected from each column's text extent. - Tight and loose lists (#168):
tight_loose_listspreserves a PDF list's spacing as CommonMark tight or loose lists;list_loose_threshold(1.5x the dominant body font size by default) sets the cutoff. - Image width hints (#169):
image_width_hintsemits each image's source width as a{width=N}attr-list hint, converted from PDF points to CSS pixels so a round-trip keeps the original size. Needswith_images. - Image click links (#170):
image_link_anchorskeeps an image's click-through as[](target). The document post-passes recognize the construct and operate on the external target. Needswith_images. - Nested ordered lists (#194):
nested_ordered_listskeeps a nested ordered sublist's own start number and indents it four spaces per level so the renderer nests it. - Grid tables (#166):
multiline_table_format=gridemits a Pandoc grid table for a table with a multi-line cell, so the line breaks survive. Rendering a grid table back to a PDF needs the optionalgrid-tablesextra (markdown-grids, MIT). Adopted in ADR-001. - Definition lists (#161):
detect_definition_listsemitsTerm/: definitionfor a glossary layout, a run of at least two term/definition pairs. Conservative guards keep false positives low. Adopted in ADR-001.
Dependencies
Bumped the nginx base image (#425), the web typescript-eslint group (#426), @testing-library/jest-dom to 7 (#427), the CI actions group (#428), and actions/setup-python to 7 (#429).
Full changelog: v0.9.0...v0.10.0