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
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.0.0/mdx-1.0.0.tbz sha256=9fba1a1322d2c4b2c6b3c973d538aa38746565923cd665b7a08407fada0e2ef9 md5=0dd02ff985d2fb72261c346571f2944b |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/mdx/mdx.1.0.0/opam |
Required by
- calculonwith-test & =0.4
- calculon-web=0.4
- carbonwith-test
- castorewith-test & >=0.0.2
- cconv-ppxwith-test
- cohttp-eiowith-test
- containerswith-test & >=2.6 & <2.7
- containers-datawith-test & >=3.11
- current_exampleswith-test & >=0.6
- current_gitwith-test & >=0.6.1
- dolmenwith-test & >=0.8 & <0.10
- dolmen_loopwith-test & =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.1.0
- ISO3166with-test
- iterwith-test & <1.3
- labwith-test & <0.1.8
- lwt-pipewith-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
- polarswith-test
- polars_asyncwith-test
- ppx_deriving_yamlwith-test & <0.2.2
- prefacewith-test
- printboxwith-test & =0.2
- reparsewith-test & >=3.0.0
- routeswith-test & !=0.7.2
- searchwith-test
- smtmlwith-test & >=0.3.1
- 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