···
2
+
synopsis: "CommonMark parser and renderer for OCaml"
4
+
Cmarkit parses the [CommonMark specification]. It provides:
6
+
- A CommonMark parser for UTF-8 encoded documents. Link label resolution
7
+
can be customized and a non-strict parsing mode can be activated to add:
8
+
strikethrough, LaTeX math, footnotes, task items and tables.
10
+
- An extensible abstract syntax tree for CommonMark documents with
11
+
source location tracking and best-effort source layout preservation.
13
+
- Abstract syntax tree mapper and folder abstractions for quick and
14
+
concise tree transformations.
16
+
- Extensible renderers for HTML, LaTeX and CommonMark with source
17
+
layout preservation.
19
+
Cmarkit is distributed under the ISC license. It has no dependencies.
21
+
[CommonMark specification]: https://spec.commonmark.org/
23
+
Homepage: <https://erratique.ch/software/cmarkit>"""
24
+
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
25
+
authors: "The cmarkit programmers"
27
+
tags: ["codec" "commonmark" "markdown" "org:erratique"]
28
+
homepage: "https://erratique.ch/software/cmarkit"
29
+
doc: "https://erratique.ch/software/cmarkit/doc"
30
+
bug-reports: "https://github.com/dbuenzli/cmarkit/issues"
32
+
"ocaml" {>= "4.14.0"}
34
+
"ocamlbuild" {build}
35
+
"topkg" {build & >= "1.0.3"}
37
+
"b0" {dev & with-test}
39
+
depopts: ["cmdliner"]
41
+
"cmdliner" {< "1.1.0"}
50
+
"%{cmdliner:installed}%"
52
+
dev-repo: "git+https://erratique.ch/repos/cmarkit.git"
54
+
src: "https://erratique.ch/software/cmarkit/releases/cmarkit-0.1.0.tbz"
56
+
"sha512=d65ee4d62b2209fa06c2e30d2ff555636d176dcfebea5695a7d1c0aae965b5c3fb6cca57ab5b8d663d0c544ab0e646970b41b42af82ea16d6fa2c426161f2934"