mdxversion

Executable markdown files

mdx allows to execute code blocks inside markdow files.

Supported extensions

Cram tests

Codes blocks using sh are considered as cram tests:

  $ for i in `seq 1 3`; do echo $i; done
  1
  2
  3

which can be executed with mdx test <file.md>

OCaml code

Code blocks using ocaml are considered either normal OCaml files or toplevel fragements

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.0.0/mdx-1.0.0.tbz
sha256=9fba1a1322d2c4b2c6b3c973d538aa38746565923cd665b7a08407fada0e2ef9
md5=0dd02ff985d2fb72261c346571f2944b
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.1.0.0/opam
Required by