mdxversion

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.

ocaml-mdx is released as two binaries called ocaml-mdx and mdx which are the same, mdx being the deprecated name, kept for now for compatibility.

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
Source [http] https://github.com/realworldocaml/mdx/releases/download/1.10.0/mdx-1.10.0.tbz
sha256=347209c2286ba491cf0d1da0afdbe27cc3ab2c640350c3df8093257672eb940c
sha512=00985ea419719c28e01ec1c66ad2ac0f7f16e0d30351ab4ed7d96fc1503f0fde9d135d7417dd309d4cb3508aca24061d3eed5d5065c60d2968ab189af1fb9d22
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.1.10.0/opam
Required by