package cmarkit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
CommonMark parser and renderer for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
cmarkit-0.4.0.tbz
sha512=4f0be18c1a16265710d20b85e48b3f8d8632dd708f413264f2a3b7653a860fd80440b81dc40f5ec63d63411705ae389bb07bdb74365e277bec24895b44ba8a0a
doc/CHANGES.html
v0.4.0 2025-11-01 Zagreb
- Support for the CommonMark 0.31.2 specification (#17).
- Change task items extension semantics: the task marker is no longer considered part of the list marker. The new semantics can lead to surprises with item subparagraphs which can show up as indented code blocks, but it avoids huge indentations for subtasks and is consistent with what at least GFM and
md4cdo. Thanks to Thomas Gazagnaire for the report (#24). Cmarkit_latex. Add option?first_heading_levelto the renderer to set the LaTeX heading level to use for the first CommonMark heading level. A corresponding option--first-heading-levelis added tocmarkit latex. Thanks to Léo Andrès for the patch (#16).cmarkit htmlcommand: add option--body-idto identify page body elements.cmarkittool: install manpages and completions.- Less eager escaping of
#characters in CommonMark renderings. Thanks to Thomas Gazagnaire for the report (#25). - Less eager escaping of
.and)characters in CommonMark rendering. Thanks to Ty Overby for the report (#19). - Fix incorrect parsing of code spans if they start with an escaped backtick (#21).
- Fix incorrect escaping of backticks in CommonMark renderings (#26).
- Fix incorrect escaping of tildes for CommonMark rendering interpreted with extensions (strikethrough becomes code fence). Thanks to Tianyi Song for the report (#20).
- Fix
Cmarkit.Mapper. Do not drop empty table cells. Thanks to Hannes Mehnert for the report (#14). - Fix out of bounds exception when lists are terminated by the end of file. Thanks to Ty Overby for the report (#18).
- Fix invalid HTML markup generated for cancelled task items. Thanks to Sebastien Mondet for the report (#15).
- Fix misspelling of
--leading_lvariable incmarkit html's CSS file. - Updated data for Unicode 17.0.0.
- Require (depopt)
cmdliner2.0.0.
v0.3.0 2023-12-12 La Forclaz (VS)
- Fix ordered item marker escaping. Thanks to Rafał Gwoździński for the report (#11).
- Data updated for Unicode 15.1.0 (no changes except for the value of
Cmarkit.Doc.unicode_version). - Fix table extension column parsing, toplevel text inlines were being dropped. Thanks to Javier Chávarri for the report (#10).
List_item.make, change default value ofafter_markerfrom 0 to 1. We don't want to generate invalid CommonMark by default. Thanks to Rafał Gwoździński for the report (#9).- Add option
-f/--full-featured, tocmarkit html. A synonym for a bunch of existing options to generate a publishable document with extensions and math rendering without hassle. Seecmarkit html --helpfor details.
v0.2.0 2023-05-10 La Forclaz (VS)
- Fix bug in
Block_lines.list_of_string. Thanks to Rafał Gwoździński for the report and the fix (#7, #8). Cmarkit.Mapper. Fix non-sensical default map forImagenodes: do not deleteImagenodes whose alt text maps toNone, replace the alt text byInline.empty. Thanks to Nicolás Ojeda Bär for the report and the fix (#6).
v0.1.0 2023-04-06 La Forclaz (VS)
First release.
Supported by a grant from the OCaml Software Foundation.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page