Skip to content

Commit 298aaeb

Browse files
authored
Merge pull request #28811 from dbuenzli/b0-publish-cmarkit.0.4.0
Add: cmarkit.0.4.0
2 parents 605a139 + 980fdd8 commit 298aaeb

File tree

1 file changed

+69
-0
lines changed
  • packages/cmarkit/cmarkit.0.4.0

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
opam-version: "2.0"
2+
synopsis: "CommonMark parser and renderer for OCaml"
3+
description: """\
4+
Cmarkit parses the [CommonMark specification]. It provides:
5+
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.
9+
10+
- An extensible abstract syntax tree for CommonMark documents with
11+
source location tracking and best-effort source layout preservation.
12+
13+
- Abstract syntax tree mapper and folder abstractions for quick and
14+
concise tree transformations.
15+
16+
- Extensible renderers for HTML, LaTeX and CommonMark with source
17+
layout preservation.
18+
19+
Cmarkit is distributed under the ISC license. It has no dependencies.
20+
21+
[CommonMark specification]: https://spec.commonmark.org/
22+
23+
Homepage: <https://erratique.ch/software/cmarkit>"""
24+
maintainer: "Daniel Bünzli <daniel.buenzl [email protected]>"
25+
authors: "The cmarkit programmers"
26+
license: "ISC"
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"
31+
depends: [
32+
"ocaml" {>= "4.14.0"}
33+
"ocamlfind" {build}
34+
"ocamlbuild" {build}
35+
"topkg" {build & >= "1.1.0"}
36+
"uucp" {dev}
37+
"b0" {dev & with-test}
38+
]
39+
depopts: ["cmdliner"]
40+
conflicts: [
41+
"cmdliner" {< "2.0.0"}
42+
]
43+
build: [
44+
[
45+
"ocaml"
46+
"pkg/pkg.ml"
47+
"build"
48+
"--dev-pkg"
49+
"%{dev}%"
50+
"--with-cmdliner"
51+
"%{cmdliner:installed}%"
52+
]
53+
[
54+
"cmdliner"
55+
"install"
56+
"tool-support"
57+
"--update-opam-install=%{_:name}%.install"
58+
"_build/src/tool/cmarkit_main.native:cmarkit" {ocaml:native}
59+
"_build/src/tool/cmarkit_main.byte:cmarkit" {!ocaml:native}
60+
"_build/cmdliner-install"
61+
] {cmdliner:installed}
62+
]
63+
dev-repo: "git+https://erratique.ch/repos/cmarkit.git"
64+
url {
65+
src: "https://erratique.ch/software/cmarkit/releases/cmarkit-0.4.0.tbz"
66+
checksum:
67+
"sha512=4f0be18c1a16265710d20b85e48b3f8d8632dd708f413264f2a3b7653a860fd80440b81dc40f5ec63d63411705ae389bb07bdb74365e277bec24895b44ba8a0a"
68+
}
69+
x-maintenance-intent: ["(latest)"]

0 commit comments

Comments
 (0)