Description

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

Published: 24 Sep 2018

Dependencies (10)

  1. cmdliner with-test & < "1.1.0"
  2. lwt with-test
  3. ppx_tools
  4. re >= "1.7.2"
  5. cmdliner >= "1.0.0"
  6. logs < "0.6.3"
  7. astring
  8. fmt >= "0.8.5"
  9. dune
  10. ocaml >= "4.06.0" & < "4.07.0"

Reverse Dependencies (41)

  1. calculon = "0.4"
  2. calculon-web = "0.4"
  3. cconv-ppx
  4. cohttp-eio
  5. containers >= "2.6" & < "2.7"
  6. containers-data >= "3.11"
  7. current_examples >= "0.6"
  8. current_git >= "0.6.1"
  9. dolmen >= "0.8"
  10. electrod >= "0.5"
  11. ezcurl-lwt
  12. geojson
  13. geojsone
  14. gitlab < "0.1.1"
  15. gitlab-jsoo < "0.1.1"
  16. gitlab-unix < "0.1.1"
  17. hilite
  18. http-cookie >= "4.1.0"
  19. ISO3166
  20. iter < "1.3"
  21. lab
  22. lwt-pipe
  23. msat >= "0.8"
  24. multibase
  25. multicodec
  26. multihash-digestif
  27. odoc >= "2.0.0"
  28. ppx_deriving_yaml
  29. preface
  30. printbox = "0.2"
  31. reparse >= "3.0.0"
  32. routes != "0.7.2"
  33. search
  34. spelll >= "0.3"
  35. spin = "0.6.0"
  36. tls-eio
  37. wtr
  38. wtr-ppx
  39. yaml >= "1.0.0" & < "3.1.0"
  40. yaml-sexp < "3.1.0"
  41. zarith-ppx

Conflicts

    None