cmarkitversion Documentation on ocaml.org

CommonMark parser and renderer for OCaml

Cmarkit parses 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.

Homepage: https://erratique.ch/software/cmarkit

Tags codec commonmark markdown org:erratique
AuthorThe cmarkit programmers
LicenseISC
Published
Homepagehttps://erratique.ch/software/cmarkit
Issue Trackerhttps://github.com/dbuenzli/cmarkit/issues
MaintainerDaniel Bünzli <daniel.buenzl i@erratique.ch>
Dependencies
Optional dependencies
Conflicts
Source [http] https://erratique.ch/software/cmarkit/releases/cmarkit-0.4.0.tbz
sha512=4f0be18c1a16265710d20b85e48b3f8d8632dd708f413264f2a3b7653a860fd80440b81dc40f5ec63d63411705ae389bb07bdb74365e277bec24895b44ba8a0a
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/cmarkit/cmarkit.0.4.0/opam