ocaml-mdx 1.9.0 Executable code blocks inside markdown files
ocaml-mdx executes code blocks inside markdown files. There are (currently) two sub-commands, corresponding to two modes of operations: pre-processing (
ocaml-mdx pp) and tests (
The pre-processor mode allows mixing documentation and code, and to practice literate programming using markdown and OCaml.
The test mode ensures that shell scripts and OCaml fragments in the documentation always stays up-to-date.
ocaml-mdx is released as two binaries called
mdx which are the same, mdx being the deprecated name, kept for now for compatibility.