Hello
Happy to announce a new release of hilite
, a small library to perform build-time syntax highlighting of some common (in the OCaml world) programming languages. Hilite performs the syntax highlighting on OCaml.org (see for example Lists ยท OCaml Tutorials). It has a useful Hilite.Md.transform
function which will rewrite code blocks for you (i.e. transform : Omd.doc -> Omd.doc
). I may, in the not too distant future, drop Omd
in favour of Cmarkit
.
Happy highlighting