package mdx

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

Install

Authors

Maintainers

Sources

mdx-2.3.0.tbz
sha256=32a08398100afd2d2e7988bc3b45c9b69971271f7ab708851ded3843c9470661
sha512=b16d257fa9e515318dba22a1eb7a19f59c40414cdbeaaee0e48b6384f74b56497fd0e547b234a1329b7334d2fbdbb7c256fdf8406ae1d1f85b49dd5c5025eba2

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.

Published: 17 Apr 2023

Dependencies (12)

  1. odoc-parser >= "1.0.0"
  2. ocaml-version >= "2.3.0"
  3. re >= "1.7.2"
  4. cmdliner >= "1.1.0"
  5. logs >= "0.7.0"
  6. astring
  7. csexp >= "1.3.2"
  8. cppo build & >= "1.1.0"
  9. fmt >= "0.8.7"
  10. ocamlfind
  11. ocaml >= "4.08.0" & < "5.1.0"
  12. dune >= "3.5"

Dev Dependencies (3)

  1. odoc with-doc
  2. alcotest with-test
  3. lwt with-test

Used by (82)

  1. bastet
  2. bastet_async
  3. bastet_lwt
  4. calculon = "0.4"
  5. calculon-web = "0.4"
  6. camlp5-buildscripts
  7. capnp-rpc-unix >= "1.2.3"
  8. carbon
  9. cconv-ppx
  10. cid
  11. cohttp-eio
  12. containers-data >= "3.11"
  13. current_examples >= "0.6"
  14. current_git >= "0.6.1"
  15. current_incr >= "0.6.0"
  16. datalog >= "0.6"
  17. diskuvbox
  18. dkml-c-probe
  19. dolmen >= "0.8"
  20. dolmen_loop >= "0.9"
  21. domain-local-await
  22. domain-local-timeout
  23. dune-release >= "1.4.0" & < "1.5.2"
  24. eio >= "0.8.1"
  25. eio_linux
  26. eio_luv
  27. eio_main >= "0.2"
  28. eio_posix
  29. electrod >= "0.5"
  30. ezcurl-lwt
  31. geojson
  32. geojsone
  33. gitlab < "0.1.1"
  34. gitlab-jsoo < "0.1.1"
  35. gitlab-unix < "0.1.1"
  36. hilite
  37. http-cookie >= "4.3.0"
  38. http-date
  39. ISO3166
  40. irmin-cli
  41. irmin-unix >= "3.0.0"
  42. iter != "1.2.1"
  43. kcas >= "0.2.1"
  44. kcas_data
  45. lab
  46. lambda_streams
  47. lwt_eio
  48. merlin >= "3.3.0" & != "3.3.4~4.10preview1" & < "3.8.0"
  49. moonpool
  50. msat = "0.8"
  51. multibase
  52. multicodec
  53. multihash-digestif
  54. odoc >= "2.0.0"
  55. owi
  56. pa_ppx_parsetree
  57. pa_ppx_q_ast >= "0.11"
  58. pa_ppx_quotation2extension
  59. pa_ppx_regexp < "0.02"
  60. pa_ppx_static < "0.02"
  61. par_incr
  62. ppx_deriving_yaml
  63. preface >= "1.0.0"
  64. printbox-text
  65. reparse >= "3.0.0"
  66. routes >= "1.0.0"
  67. rtree
  68. search
  69. spelll >= "0.3"
  70. spin = "0.6.0"
  71. thread-table < "1.0.0"
  72. tls-eio
  73. toml >= "7.1.0"
  74. topojson
  75. topojsone
  76. um-abt
  77. uring >= "0.4"
  78. wtr
  79. wtr-ppx
  80. yaml >= "1.0.0"
  81. yaml-sexp
  82. zarith-ppx

Conflicts (1)

  1. result < "1.5"