package mdx
Executable code blocks inside markdown files
Install
Dune Dependency
Authors
Maintainers
Sources
mdx-1.7.0.tbz
sha256=270e805d32923dadfaa45f09377a0863d691a2e772bb0c99bf7bd0673518ec6e
sha512=6ea55660ba3a79e4867a0b3ced2cb6bc8f46c0ce4633114365a929fb465070e46699b05daeeefc08bce83742c0e9931e55ad6cf9376d9b76313a28ebb8d05425
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: 21 Jul 2020
Dependencies (13)
Dev Dependencies (4)
Used by (63)
- bastet
- bastet_async
- bastet_lwt
-
calculon
= "0.4"
-
calculon-web
= "0.4"
- carbon
-
castore
>= "0.0.2"
- cconv-ppx
- cohttp-eio
-
containers
>= "2.8" & < "3.0"
-
containers-data
>= "3.11"
-
current_examples
>= "0.6"
-
current_git
>= "0.6.1"
-
datalog
>= "0.6"
-
dolmen
>= "0.8" & < "0.10"
-
dolmen_loop
= "0.9"
-
dune-release
>= "1.4.0" & < "1.5.2"
-
electrod
>= "0.5"
- ezcurl-lwt
- fuseau
- geojson
- geojsone
-
gitlab
< "0.1.1"
-
gitlab-jsoo
< "0.1.1"
-
gitlab-unix
< "0.1.1"
- hilite
-
http-cookie
>= "4.1.0"
- ISO3166
- iter
-
lab
< "0.1.8"
- lambda_streams
- lwt-pipe
-
merlin
>= "3.3.0" & != "3.3.4~4.10preview1" & < "4.1-411"
-
msat
>= "0.8"
- multibase
- multicodec
- multihash-digestif
-
odoc
>= "2.0.0" & < "2.3.0"
-
ortac-qcheck-stm
< "0.2.0"
-
pa_ppx_parsetree
< "0.02"
-
pa_ppx_quotation2extension
< "0.02"
-
pa_ppx_regexp
< "0.02"
-
pa_ppx_static
< "0.02"
- polars
- polars_async
-
ppx_deriving_yaml
< "0.2.2"
- preface
-
printbox
= "0.2"
-
printbox-html
>= "0.7"
-
printbox-md
< "0.12"
-
printbox-text
< "0.12"
-
reparse
>= "3.0.0"
-
routes
!= "0.5.2" & != "0.7.2"
- search
-
smtml
>= "0.3.1"
-
spelll
>= "0.3"
-
spin
= "0.6.0"
- tls-eio
- wtr
- wtr-ppx
-
yaml
>= "1.0.0" & < "3.1.0"
-
yaml-sexp
< "3.1.0"
- zarith-ppx
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page