doc-gen4
doc-gen4 copied to clipboard
Support syntax highlighting for Lean in Markdown code blocks
When generating documentation with markdown in doc-gen4, code blocks tagged as lean or lean4 (e.g., ```lean or ```lean4) currently do not support syntax highlighting. Are there any plans to add support for Lean syntax highlighting in markdown code blocks?
Currently no fenced code-block highlighting is supported, I think.
I've checked the md4c source code, at least it will put the XXX in ```XXX to HTML. So maybe we should try to load a javascript for syntax highlighting?