forked from dbuenzli/cmarkit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
opam
53 lines (46 loc) · 1.57 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
opam-version: "2.0"
name: "cmarkit"
synopsis: "CommonMark parser and renderer for OCaml"
description: """\
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.
[CommonMark specification]: https://spec.commonmark.org/
Homepage: <https://erratique.ch/software/cmarkit>"""
maintainer: "Daniel Bünzli <daniel.buenzl [email protected]>"
authors: "The cmarkit programmers"
license: "ISC"
tags: ["codec" "commonmark" "markdown" "org:erratique"]
homepage: "https://erratique.ch/software/cmarkit"
doc: "https://erratique.ch/software/cmarkit/doc"
bug-reports: "https://github.com/dbuenzli/cmarkit/issues"
depends: [
"ocaml" {>= "4.14.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build & >= "1.0.3"}
"uucp" {dev}
"b0" {dev & with-test}
]
depopts: ["cmdliner"]
conflicts: [
"cmdliner" {< "1.1.0"}
]
build: [
"ocaml"
"pkg/pkg.ml"
"build"
"--dev-pkg"
"%{dev}%"
"--with-cmdliner"
"%{cmdliner:installed}%"
]
dev-repo: "git+https://erratique.ch/repos/cmarkit.git"