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