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 | |
Conflicts |
|
Source [http] | https://github.com/realworldocaml/mdx/releases/download/2.4.1/mdx-2.4.1.tbz sha256=1a40cc91cc553ded0a20c98d434354953bdb759ecc91ad36bbb9a7dd0412af13 sha512=fbf40bbe6226401b63694f2ac69fa05e5540020a896d94d17ced6f57265cf5d7e6445ef7f0391c21ca2c05615fb9eecd9e6be93ee53d666bfeb400fc554de478 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.2.4.1/opam |
Required by
- atacamawith-test & >=0.0.4
- bastetwith-test
- bastet_asyncwith-test
- bastet_lwtwith-test
- calculonwith-test & =0.4
- calculon-web=0.4
- camlp5-buildscriptswith-test
- carbonwith-test
- cconv-ppxwith-test
- cidwith-test
- cohttp-eiowith-test
- colorswith-test
- containers-datawith-test & >=3.11
- current_gitwith-test & >=0.6.1
- current_incrwith-test & >=0.6.0
- datalogwith-test & >=0.6
- diskuvboxwith-test
- dkml-c-probewith-test & <3.0.0
- dolmenwith-test & >=0.8
- dolmen_loopwith-test & >=0.9
- domain-local-awaitwith-test
- domain-local-timeoutwith-test
- dune-releasewith-test & >=1.4.0 & <1.5.2
- eiowith-test & >=0.8.1 & !=1.0
- eio_linuxwith-test & !=0.11 & !=1.0
- eio_mainwith-test & (>=0.2 & <0.6 | >=1.1)
- eio_posixwith-test & !=1.0
- electrodwith-test & >=0.5
- extismwith-test & >=1.0.0
- 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
- grpc-exampleswith-test
- hilitewith-test
- http-cookiewith-test & >=4.3.0
- http-datewith-test
- irmin-cliwith-test & >=3.8.0
- irmin-unixwith-test & (>=3.0.0 & <3.2.1 | =3.3.0)
- ISO3166with-test
- iterwith-test & !=1.2.1
- kcaswith-test & >=0.2.1
- kcas_datawith-test
- labwith-test
- lambda_streamswith-test
- leaveswith-test & >=0.0.2
- lwt_eiowith-test & (<0.2 | >=0.4)
- merlinwith-test & >=3.3.0 & !=3.3.4~4.10preview1 & <3.8.0
- mintteawith-test & >=0.0.2
- moonpoolwith-test
- msatwith-test & =0.8
- multibasewith-test
- multicodecwith-test
- multicore-benchwith-test
- multihash-digestifwith-test
- odocwith-test & >=2.0.0 & <2.3.0
- ortac-qcheck-stmwith-test
- owiwith-test
- pa_ppx_parsetreewith-test
- pa_ppx_q_astwith-test & >=0.11
- pa_ppx_quotation2extensionwith-test
- pa_ppx_regexpwith-test & <0.02
- pa_ppx_staticwith-test & <0.02
- par_incrwith-test
- pari
- pari-bindings
- patricia-treewith-test & >=0.10.0
- picoswith-test & <0.5.0
- picos_metawith-test
- 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
- riotwith-test & >=0.0.7
- routeswith-test & >=1.0.0
- rtreewith-test
- searchwith-test
- spelllwith-test & >=0.3
- spiceswith-test & >=0.0.2
- spinwith-test & =0.6.0
- thread-tablewith-test & <1.0.0
- tls-eiowith-test
- tomlwith-test & >=7.1.0
- topojsonwith-test
- topojsonewith-test
- trailwith-test
- um-abtwith-test
- uringwith-test & >=0.4
- wtrwith-test
- wtr-ppxwith-test
- yamlwith-test & >=1.0.0
- yaml-sexpwith-test
- yocamlwith-test & >=2.0.0
- yocaml_cmarkitwith-test
- yocaml_eiowith-test
- yocaml_gitwith-test & >=2.0.0
- yocaml_jingoowith-test & >=2.0.0
- yocaml_mustachewith-test & >=2.0.0
- yocaml_omdwith-test
- yocaml_otomlwith-test
- yocaml_runtimewith-test
- yocaml_syndicationwith-test & >=2.0.0
- yocaml_unixwith-test & >=2.0.0
- yocaml_yamlwith-test & >=2.0.0
- zarith-ppxwith-test