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.

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.2.0/mdx-2.2.0.tbz
sha256=e8ac4af8ae24259d309d8476f7cec70f98819ba44af83591cf303907ac3528f7
sha512=1cbbeb7889d0931189c7fc22fe90310ae6c49b9f8a56cbd131e6e1a5045383c4d075f4acb9b60501dfe59c66e4f9ac02b5a07ed5fba6fce9d1ce9ea01e59a1c0
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.2.2.0/opam
Required by