mdxversion Documentation on ocaml.org

Executable code blocks inside markdown files

ocaml-mdx allows to execute code blocks inside markdown files. There are (currently) two sub-commands, corresponding to two modes of operations: pre-processing (ocaml-mdx pp) and tests (ocaml-mdx test).

The pre-processor mode allows to mix documentation and code, and to practice "literate programming" using markdown and OCaml.

The test mode allows to ensure that shell scripts and OCaml fragments in the documentation always stays up-to-date.

AuthorThomas Gazagnaire <thomas@gazagnaire.org>
LicenseISC
Published
Homepagehttps://github.com/realworldocaml/mdx
Issue Trackerhttps://github.com/realworldocaml/mdx/issues
MaintainerThomas Gazagnaire <thomas@gazagnaire.org>
Dependencies
Conflicts
Source [http] https://github.com/realworldocaml/mdx/releases/download/2.5.1/mdx-2.5.1.tbz
sha256=dd82980dd111a4806ff9a91d9d2ed7c26aefb1da7dccbd15e73c3a8f66e863f5
sha512=6ea99f5ae8d9c693b295a35f143cd7713c6949975843dd3c9cf1c7a6dd1adf5c90cc4dfb9313ef3be226c34ad828122d76e98c8c4a1a7378c398b5c0c204f4e8
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.2.5.1/opam
Required by