Page
Library
Module
Module type
Parameter
Class
Class type
Source
omd: Markdown library and tool in OCamlOmd is an OCaml library designed to parse, manipulate, and print Markdown into different formats. In addition to the library, a command-line tool omd is included to easily convert markdown into HTML.
Omd aims for compliance with the CommonMark standard. We are currently compliant with 0.30 of the ComonMark spec.
Omd is developed on GitHub. If you need to report an issue, please do so at https://github.com/ocaml/omd/issues.
The recommended way to install omd is via the [opam package manager][opam].
You can install versions published to opam with:
$ opam install omdYou can install the current development version from the GitHub repository with
$ opam pin git@github.com:ocaml/omd.gitodig doc omdYou can also build it manually from source with:
$ git clone https://github.com/ocaml/omd.git
$ cd omd
$ make buildYou can run the test suite with
$ make testThe minimum version of OCaml required is 4.08.
Dependencies are tracked in the dune-project and can be installed by running:
$ opam install . --deps-only
# or
$ make depsOmd 1 was developed by Philippe Wang at OCaml Labs in Cambridge.
Its development was motivated by at least these facts:
Omd 2 started development in 2020, beginning Nicolás Ojeda Bär's redesign and rewrite, and is currently ongoing. Omd 2 has yet to reach feature parity with Omd 1.
Special thanks for feedback and contributions to this project goes out to: