Fedora Packages

ocaml-mdx

Executable code blocks inside markdown files

mdx enables execution of code blocks inside markdown files. There are (currently) two sub-commands, corresponding to two modes of operation: preprocessing (`ocaml-mdx pp`) and tests (`ocaml-mdx test`). The preprocessor mode enables mixing documentation and code, and the practice of "literate programming" using markdown and OCaml. The test mode enables ensuring that shell scripts and OCaml fragments in the documentation always stay up-to-date. The blocks in markdown files can be parameterized by `mdx`-specific labels, that will change the way `mdx` interprets the block. The syntax is: `<!-- $MDX labels -->`, where `labels` is a list of valid labels separated by a comma. This line must immediately precede the block it is attached to.

Releases Overview

Release Stable Testing
Fedora Rawhide 2.4.1-1.fc41 -
Fedora 40 2.4.1-1.fc40 2.4.1-1.fc40
Fedora 39 2.3.0-4.fc39 -
Fedora 38 2.2.1-3.fc38 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at ocaml-mdx dash maintainers at fedoraproject dot org.



Sources on Pagure