package mdx

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

Install

Dune Dependency

Authors

Maintainers

Sources

mdx-2.5.0.tbz
sha256=c2da58d7d5182f15c046fb320bb02c16602d2ee7cb99f349e3f4841c26365029
sha512=d16d9ec2ac444880c7f6d08181fe055697f25fb405358acee396cd7ecba8011881f1de8b49bfa208d4adcd4904b600f4122d1a47d98bf26a8cb533770dd9350d

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: 07 Dec 2024

Dependencies (13)

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

Dev Dependencies (3)

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

  1. atacama >= "0.0.4"
  2. bastet
  3. bastet_async
  4. bastet_lwt
  5. calculon = "0.4"
  6. calculon-web = "0.4"
  7. camlp5-buildscripts
  8. capnp-rpc-unix >= "1.2.4"
  9. carbon
  10. cconv-ppx
  11. cid
  12. cohttp-eio
  13. colors
  14. containers-data >= "3.11"
  15. current_git >= "0.6.1"
  16. current_incr >= "0.6.0"
  17. datalog >= "0.6"
  18. diskuvbox
  19. dkml-c-probe < "3.0.0"
  20. dolmen >= "0.8"
  21. dolmen_loop >= "0.9"
  22. domain-local-await
  23. domain-local-timeout
  24. dune >= "3.17.0"
  25. dune-release >= "1.4.0" & < "1.5.2"
  26. eio >= "0.8.1" & != "1.0"
  27. eio_linux != "0.11" & != "1.0"
  28. eio_main >= "0.2" & < "0.6" | >= "1.1"
  29. eio_posix != "1.0"
  30. electrod >= "0.5"
  31. extism >= "1.0.0"
  32. ezcurl-lwt
  33. fuseau
  34. geojson
  35. geojsone
  36. gitlab < "0.1.1"
  37. gitlab-jsoo < "0.1.1"
  38. gitlab-unix < "0.1.1"
  39. grpc-examples
  40. hilite
  41. http-cookie >= "4.3.0"
  42. http-date
  43. ISO3166
  44. irmin-cli >= "3.8.0"
  45. irmin-unix >= "3.0.0" & < "3.2.1" | = "3.3.0"
  46. iter != "1.2.1"
  47. kcas >= "0.2.1"
  48. kcas_data
  49. lab
  50. lambda_streams
  51. leaves >= "0.0.2"
  52. lwt_eio < "0.2" | >= "0.4"
  53. merlin >= "3.3.0" & != "3.3.4~4.10preview1" & < "3.8.0"
  54. minttea >= "0.0.2"
  55. moonpool
  56. msat = "0.8"
  57. multibase
  58. multicodec
  59. multicore-bench
  60. multihash-digestif
  61. odoc >= "2.0.0" & < "2.3.0"
  62. ortac-qcheck-stm
  63. owi
  64. pa_ppx_parsetree
  65. pa_ppx_q_ast >= "0.11"
  66. pa_ppx_quotation2extension
  67. pa_ppx_regexp != "0.02"
  68. pa_ppx_static < "0.02"
  69. par_incr
  70. pari
  71. pari-bindings
  72. patricia-tree >= "0.10.0"
  73. picos < "0.5.0"
  74. picos_meta
  75. polars
  76. polars_async
  77. ppx_deriving_ezjsonm
  78. ppx_deriving_yaml
  79. preface >= "1.0.0"
  80. pretty_expressive >= "0.2"
  81. printbox-html >= "0.7"
  82. printbox-md < "0.12"
  83. printbox-text < "0.12"
  84. reparse >= "3.0.0"
  85. riot >= "0.0.7"
  86. routes >= "1.0.0"
  87. rtree
  88. saturn >= "1.0.0"
  89. search
  90. smtml >= "0.3.1"
  91. spelll >= "0.3"
  92. spices >= "0.0.2"
  93. spin = "0.6.0"
  94. thread-table < "1.0.0"
  95. tls-eio
  96. toml >= "7.1.0"
  97. topojson
  98. topojsone
  99. trail
  100. um-abt
  101. uring >= "0.4"
  102. wtr
  103. wtr-ppx
  104. yaml >= "1.0.0"
  105. yaml-sexp
  106. yocaml >= "2.1.0"
  107. yocaml_cmarkit >= "2.1.0"
  108. yocaml_eio >= "2.1.0"
  109. yocaml_git >= "2.1.0"
  110. yocaml_jingoo >= "2.1.0"
  111. yocaml_mustache >= "2.1.0"
  112. yocaml_omd >= "2.1.0"
  113. yocaml_otoml >= "2.1.0"
  114. yocaml_runtime >= "2.1.0"
  115. yocaml_syndication >= "2.1.0"
  116. yocaml_unix >= "2.1.0"
  117. yocaml_yaml >= "2.1.0"
  118. zarith-ppx

Conflicts (1)

  1. result < "1.5"
OCaml

Innovation. Community. Security.