To compile this file, use the following command:
$ alectryon literate_MyST.md # MyST → HTML, produces ‘literate_MyST.html’
Alectryon supports input files written in MyST (a Markdown variant) in addition to Coq and reStructuredText.
In MyST Coq fragments are spelled as ```{coq}, with arguments on the same line and options below:
exists x : nat, x * x = 49 /\ x < 107 < 10repeat constructor.8 <= 10
Math is written either in Docutils math roles (\(e^{i\pi} = -1\)) or in $ signs (\(\cos(\pi) = -1\)). And unlike in reST, built-in inline markup nests, including code and other roles like coqid references or links.