Executable code blocks inside markdown files
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: 23 Jan 2023
Dependencies (15)
-
odoc
with-doc
-
alcotest
with-test
-
lwt
with-test
-
odoc-parser
>= "1.0.0"
-
ocaml-version
>= "2.3.0"
-
re
>= "1.7.2"
-
cmdliner
>= "1.1.0"
-
logs
>= "0.7.0"
- astring
-
csexp
>= "1.3.2"
-
cppo
build & >= "1.1.0"
-
fmt
>= "0.8.7"
- ocamlfind
-
ocaml
>= "4.08.0"
-
dune
>= "3.5"
Reverse Dependencies (66)
- bastet
- bastet_async
- bastet_lwt
-
calculon
= "0.4"
-
calculon-web
= "0.4"
- camlp5-buildscripts
-
capnp-rpc-unix
>= "1.2.3"
- cconv-ppx
- cohttp-eio
-
containers-data
>= "3.11"
-
current_examples
>= "0.6"
-
current_git
>= "0.6.1"
-
current_incr
>= "0.6.0"
-
datalog
>= "0.6"
- diskuvbox
- dkml-c-probe
-
dolmen
>= "0.8"
-
dune-release
>= "1.4.0" & < "1.5.2"
-
eio
>= "0.8.1"
- eio_linux
- eio_luv
-
eio_main
>= "0.2"
-
electrod
>= "0.5"
- ezcurl-lwt
- geojson
- geojsone
-
gitlab
< "0.1.1"
-
gitlab-jsoo
< "0.1.1"
-
gitlab-unix
< "0.1.1"
- hilite
-
http-cookie
>= "4.3.0"
- http-date
- ISO3166
- irmin-cli
-
irmin-unix
>= "3.0.0"
-
iter
!= "1.2.1"
-
kcas
>= "0.2.1"
- lab
- lambda_streams
- lwt_eio
-
merlin
>= "3.3.0" & != "3.3.4~4.10preview1" & < "3.8.0"
-
msat
= "0.8"
- multibase
- multicodec
- multihash-digestif
-
odoc
>= "2.0.0"
- owi
- ppx_deriving_yaml
-
preface
>= "1.0.0"
- printbox-text
-
reparse
>= "3.0.0"
-
routes
>= "1.0.0"
- search
-
spelll
>= "0.3"
-
spin
= "0.6.0"
- tls-eio
-
toml
>= "7.1.0"
- topojson
- topojsone
- um-abt
-
uring
>= "0.4"
- wtr
- wtr-ppx
-
yaml
>= "1.0.0"
- yaml-sexp
- zarith-ppx
Conflicts (1)
-
result
< "1.5"
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
Authors
Maintainers
Sources
mdx-2.2.1.tbz
sha256=f09ed733fe4461605f029773748a6353d01b95be65eb986bcce17d6ddaf509d8
sha512=5f918fbafcb55c3959f6cce69b8d8e640883dea5c21d159b5ebb6ead31230569100813555d2637f74028d51f79f23a226dc69811524d9cf1c2ca50b87a93dbf2