Closed gaborigloi closed 6 years ago
Do we need caml2html
or we can use some newer way? This code does not look much different than usign Cow directly
I'm not sure, I don't know of any other OCaml highlighters. But I've checked and it seems that caml2html cannot output a node
type usable by Cow.
Most things use pygmentize
I think
I think only reason for using it is that caml2html
is written in OCaml. I tried using it as a library too but got an annoying warning.
I understand that, but if even pandoc
offloads it to pygmentize
, it is maybe worth a look
Hmm ok, that's convincing indeed.
Caml2html outputs a string containing html tags, which were escaped by Cow, and therefore the HTML source of the syntax-highlighted OCaml code was displayed as plain text.
Signed-off-by: Gabor Igloi gabor.igloi@citrix.com