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.4.0/mdx-2.4.0.tbz
sha256=dde0eb73ebf6108fc5c7e30c4e37dd9f839a59fdb68c6ab61459ac28cba9783a
sha512=5e2472657d8e2b38f8f87284ded405e78f07681f61b46285f26c1f4b4c41ebdb22101da0868982ef39ea5083cefd764e08fd0031236fc639423529931d3fecc7
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.2.4.0/opam
Required by