The highlighter2 package

[Tags:bsd3, library]

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.


Versions 0.2.3, 0.2.4, 0.2.5
Dependencies base (==4.*), blaze-html, blaze-markup, bytestring, containers, filepath, mtl (>=2.2.1), pcre-light, text [details]
License BSD3
Author Alex Suraci, Smirnov Alexey
Stability Experimental
Category Text
Source repository head: git clone -b master
Uploaded Fri Mar 20 08:38:08 UTC 2015 by chemist
Distributions NixOS:0.2.5
Downloads 449 total (7 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2015-03-20 [all 1 reports]




executableInstall a "highlighter" executable for highlighting source code as HTML.DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees