highlighter2: source code highlighting

[ bsd3, library, text ] [ Propose Tags ]

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.




Automatic Flags

Install a "highlighter" executable for highlighting source code as HTML.


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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.2.3, 0.2.4, 0.2.5
Dependencies base (>=4 && <5), blaze-html, blaze-markup, bytestring, containers, filepath, mtl (>=2.2.1), pcre-light, text [details]
License BSD-3-Clause
Author Alex Suraci, Smirnov Alexey
Maintainer chemistmail@gmail.com
Category Text
Source repo head: git clone git@github.com:chemist/highlighter.git -b master
Uploaded by chemist at 2015-03-20T08:38:08Z
Distributions NixOS:0.2.5
Reverse Dependencies 2 direct, 0 indirect [details]
Executables highlighter
Downloads 2298 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-03-20 [all 1 reports]