
10 Dec
2018
10 Dec
'18
4:33 p.m.
Does anyone know whether literate haskell can be used to generate html?
You can use Pandoc¹. Or alternatively, first use lhs2tex² to get LaTeX, and then use Pandoc or one of the tools listed here³ to convert LaTeX to HTML. I haven’t tried either of the approaches, so it would be nice if someone could speak on how they compare in terms of the quality of the final document. HTH. Footnotes: ¹ https://pandoc.org/MANUAL.html#literate-haskell-support ² https://hackage.haskell.org/package/lhs2tex ³ https://texfaq.org/FAQ-LaTeX2HTML