Cmarkit is an OCaml libary for parsing the CommonMark specification. It provides:
A CommonMark parser for UTF-8 encoded documents. Link label resolution can be customized and a non-strict parsing mode can be activated to add: strikethrough, LaTeX math, footnotes, task items and tables.
An extensible abstract syntax tree for CommonMark documents with source location tracking and best-effort source layout preservation.
Abstract syntax tree mapper and folder abstractions for quick and concise tree transformations.
Extensible renderers for HTML, LaTeX and CommonMark with source layout preservation.
Cmarkit is distributed under the ISC license. It has no dependencies
Commercial Use
Modify
Distribute
Hold Liable
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummaryAug 28 2026 — Sep 27 2026
|
12 Month SummarySep 27 2025 — Sep 27 2026
|