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.
ocaml-mdx
is released as two binaries called ocaml-mdx
and mdx
which are
the same, mdx being the deprecated name, kept for now for compatibility.
Author | Thomas Gazagnaire <thomas@gazagnaire.org |
---|---|
License | ISC |
Published | |
Homepage | https://github.com/realworldocaml/mdx |
Issue Tracker | https://github.com/realworldocaml/mdx/issues |
Maintainer | Thomas Gazagnaire <thomas@gazagnaire.org> |
Dependencies | |
Source [http] | https://github.com/realworldocaml/mdx/releases/download/1.6.0/mdx-1.6.0.tbz sha256=6b4c51c91953218b5b5b14f8e5d3dd6d0c50995b46c571b97d8b37238457a4a2 sha512=f86619905828bbdaa8a93d6605308436211e26ac850cad319d92cca971e6f548e5ac07a38d01f8098f87ea7f6a40d0f4bc0c6867c3a416b2b956042423997432 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.1.6.0/opam |
Required by
- bastetwith-test
- bastet_asyncwith-test
- bastet_lwtwith-test
- calculonwith-test & =0.4
- calculon-web=0.4
- carbonwith-test
- castorewith-test & >=0.0.2
- cconv-ppxwith-test
- cohttp-eiowith-test
- containerswith-test & >=2.8 & <3.0
- containers-datawith-test & >=3.11
- current_exampleswith-test & >=0.6
- current_gitwith-test & >=0.6.1
- datalogwith-test & >=0.6
- dolmenwith-test & >=0.8 & <0.10
- dolmen_loopwith-test & =0.9
- dune-releasewith-test & >=1.4.0 & <1.5.2
- electrodwith-test & >=0.5
- ezcurl-lwtwith-test
- fuseauwith-test
- geojsonwith-test
- geojsonewith-test
- gitlabwith-test & <0.1.1
- gitlab-jsoowith-test & <0.1.1
- gitlab-unixwith-test & <0.1.1
- hilitewith-test
- http-cookiewith-test & >=4.1.0
- ISO3166with-test
- iterwith-test
- labwith-test & <0.1.8
- lambda_streamswith-test
- lwt-pipewith-test
- merlinwith-test & >=3.3.0 & !=3.3.4~4.10preview1 & <4.1-411
- msatwith-test & >=0.8
- multibasewith-test
- multicodecwith-test
- multihash-digestifwith-test
- odocwith-test & >=2.0.0 & <2.3.0
- ortac-qcheck-stmwith-test & <0.2.0
- pa_ppx_parsetree<0.02
- pa_ppx_quotation2extensionwith-test & <0.02
- pa_ppx_regexpwith-test & <0.02
- pa_ppx_staticwith-test & <0.02
- polarswith-test
- polars_asyncwith-test
- ppx_deriving_yamlwith-test & <0.2.2
- prefacewith-test
- printboxwith-test & =0.2
- printbox-htmlwith-test & >=0.7
- printbox-mdwith-test & <0.12
- printbox-textwith-test & <0.12
- reparsewith-test & >=3.0.0
- routeswith-test & !=0.5.2 & !=0.7.2
- searchwith-test
- spelllwith-test & >=0.3
- spinwith-test & =0.6.0
- tls-eiowith-test
- wtrwith-test
- wtr-ppxwith-test
- yamlwith-test & >=1.0.0 & <3.1.0
- yaml-sexpwith-test & <3.1.0
- zarith-ppxwith-test