package mdx

  1. Overview
  2. No Docs
Executable code blocks inside markdown files

Install

Authors

Maintainers

Sources

mdx-1.4.0.tbz
sha256=66b56a6bee7165498671c5a616acd965975de5cf855c7c114d7f5237a250ebdb
sha512=679d42d54fed29e5aaeb60dc01c23da6e903b976769585da06dc06a4a643fca7836d0999f09d55f6d94125f0ca99ba27b6402f5a6651a16ba5397353d742ec3d

Description

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.

Published: 15 Jun 2019

Dependencies (11)

  1. ocaml-migrate-parsetree >= "1.0.6" & < "2.0.0"
  2. ocamlfind >= "1.7.2"
  3. result
  4. re >= "1.7.2"
  5. cmdliner >= "1.0.0"
  6. logs
  7. astring
  8. cppo build & >= "1.1.0"
  9. fmt >= "0.8.5"
  10. dune
  11. ocaml >= "4.02.3" & < "4.09.0"

Dev Dependencies (3)

  1. cmdliner with-test & < "1.1.0"
  2. conf-pandoc with-test
  3. lwt with-test

Used by (54)

  1. calculon = "0.4"
  2. calculon-web = "0.4"
  3. carbon
  4. cconv-ppx
  5. cohttp-eio
  6. containers >= "2.6" & < "2.7"
  7. containers-data >= "3.11"
  8. current_examples >= "0.6"
  9. current_git >= "0.6.1"
  10. datalog >= "0.6"
  11. dolmen >= "0.8"
  12. dolmen_loop >= "0.9"
  13. electrod >= "0.5"
  14. ezcurl-lwt
  15. geojson
  16. geojsone
  17. gitlab < "0.1.1"
  18. gitlab-jsoo < "0.1.1"
  19. gitlab-unix < "0.1.1"
  20. hilite
  21. http-cookie >= "4.1.0"
  22. ISO3166
  23. iter
  24. lab < "0.1.8"
  25. lwt-pipe
  26. merlin >= "3.3.0" & != "3.3.4~4.10preview1" & < "4.1-411"
  27. msat >= "0.8"
  28. multibase
  29. multicodec
  30. multihash-digestif
  31. odoc >= "2.0.0" & < "2.3.0"
  32. ortac-qcheck-stm
  33. pa_ppx_parsetree < "0.02"
  34. pa_ppx_quotation2extension < "0.02"
  35. pa_ppx_regexp < "0.02"
  36. pa_ppx_static < "0.02"
  37. polars
  38. polars_async
  39. ppx_deriving_yaml
  40. preface
  41. printbox = "0.2" | = "0.5"
  42. printbox-html >= "0.7"
  43. printbox-text
  44. reparse >= "3.0.0"
  45. routes != "0.7.2"
  46. search
  47. spelll >= "0.3"
  48. spin = "0.6.0"
  49. tls-eio
  50. wtr
  51. wtr-ppx
  52. yaml >= "1.0.0" & < "3.1.0"
  53. yaml-sexp < "3.1.0"
  54. zarith-ppx

Conflicts

None