Package : ocaml-mdx > RPM : ocaml-mdx-2.1.0-2.mga9.x86_64.rpm
Basic items
InstallName | ocaml-mdx |
Version | 2.1.0 |
Release | 2.mga9 |
URL | https://realworldocaml.github.io/mdx/ |
Group | Development/OCaml |
Summary | Executable code blocks inside markdown files |
Size | 35MB |
Arch | x86_64 |
License | ISC |
Description
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.
(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.
Media information
Distribution release | Mageia 9 |
Media name | core-release |
Media arch | x86_64 |
Advanced items
Source RPM | ocaml-mdx-2.1.0-2.mga9.src.rpm |
Build time | 2022-10-11 10:58:02 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |