Org mode ( https://orgmode.org/ ) is a "markup" language like Markdown (but better).
Unfortunately, Pygments doesn't support Org mode highlighting; there's an issue open.
But I recently added support for Org mode syntax highlighting to Chroma. It is a Go library for syntax highlighting (equivalent of Pygments in Python), but it also provides a CLI utility.
Here's an example of how the Chroma-highlighted Org mode code block looks -- See the colorful code block at the end of this page.
Is using an external binary to returned colorized HTML something that you would consider?
Hello,
Org mode ( https://orgmode.org/ ) is a "markup" language like Markdown (but better).
Unfortunately, Pygments doesn't support Org mode highlighting; there's an issue open.
But I recently added support for Org mode syntax highlighting to Chroma. It is a Go library for syntax highlighting (equivalent of Pygments in Python), but it also provides a CLI utility.
Here's an example of how the Chroma-highlighted Org mode code block looks -- See the colorful code block at the end of this page.
Is using an external binary to returned colorized HTML something that you would consider?