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.
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/2.0.0/mdx-2.0.0.tbz sha256=65b4cc7ff8891b8b1d183be13c26eb45ddbc5a8081ac6e200fd8ae043d592e45 sha512=676d73dd20586ad5457ad96c9f0b11d88a2caf5763935a317db88076fd611cedd27499bd574a140ed9f6c00d2b80e7e92e2cf66d5aece9e2bbc16ea9ad69fc67 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.2.0.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
- containers-datawith-test & >=3.11
- current_exampleswith-test & >=0.6
- current_gitwith-test & >=0.6.1
- current_incrwith-test & >=0.6.0
- datalogwith-test & >=0.6
- diskuvboxwith-test
- dkml-c-probewith-test
- dolmenwith-test & >=0.8
- dolmen_loopwith-test & >=0.9
- domain-local-awaitwith-test & <1.0.1
- domain-local-timeoutwith-test & <1.0.1
- dune-releasewith-test & >=1.4.0 & <1.5.2
- eiowith-test & =0.8.1
- eio_linuxwith-test & <0.9
- eio_luvwith-test & >=0.6 & <0.9
- eio_mainwith-test & >=0.2 & <0.9
- 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.3.0
- irmin-cliwith-test
- irmin-unixwith-test & >=3.0.0
- ISO3166with-test
- iterwith-test & !=1.2.1
- kcaswith-test & >=0.2.1 & <0.7.0
- kcas_datawith-test & <0.7.0
- labwith-test & <0.1.8
- lambda_streamswith-test
- lwt_eiowith-test
- merlinwith-test & >=3.3.0 & !=3.3.4~4.10preview1 & <3.8.0
- moonpoolwith-test
- 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
- pari
- pari-bindings
- polarswith-test
- polars_asyncwith-test
- ppx_deriving_yamlwith-test
- prefacewith-test & >=1.0.0
- pretty_expressivewith-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 & >=1.0.0
- searchwith-test
- smtmlwith-test & >=0.3.1
- spelllwith-test & >=0.3
- spinwith-test & =0.6.0
- thread-tablewith-test & <1.0.0
- tls-eiowith-test
- topojsonwith-test
- topojsonewith-test
- um-abtwith-test
- wtrwith-test
- wtr-ppxwith-test
- yamlwith-test & >=1.0.0 & <3.1.0
- yaml-sexpwith-test & <3.1.0
- zarith-ppxwith-test