highlighter2

source code highlighting

Latest on Hackage:0.2.5

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Alex Suraci, Smirnov Alexey
Maintained by chemistmail@gmail.com

It's fork from original highlighter, with some changes for performance. This version work faster (5 - 10 times) for big files (> 1000 lines of code).

Processes source code using tons of lexers, tokenizing it and formatting it as e.g. HTML.

Very similar to the Python Pygments library; many lexers directly converted from it.

comments powered byDisqus