highlighter: source code highlighting
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.
Modules
[Index]
- Text
- Text.Highlighter
- Formatters
- Text.Highlighter.Lexer
- Text.Highlighter.Lexers
- Text.Highlighter.Lexers.ABAP
- Text.Highlighter.Lexers.ActionScript
- Text.Highlighter.Lexers.ActionScript3
- Text.Highlighter.Lexers.Ada
- Text.Highlighter.Lexers.Antlr
- Text.Highlighter.Lexers.ApacheConf
- Text.Highlighter.Lexers.AppleScript
- Text.Highlighter.Lexers.Asymptote
- Text.Highlighter.Lexers.Atomo
- Text.Highlighter.Lexers.Autohotkey
- Text.Highlighter.Lexers.BBCode
- Text.Highlighter.Lexers.Bash
- Text.Highlighter.Lexers.Batch
- Text.Highlighter.Lexers.Befunge
- Text.Highlighter.Lexers.BlitzMax
- Text.Highlighter.Lexers.Boo
- Text.Highlighter.Lexers.Brainfuck
- Text.Highlighter.Lexers.C
- Text.Highlighter.Lexers.CMake
- Text.Highlighter.Lexers.Clojure
- Text.Highlighter.Lexers.CoffeeScript
- Text.Highlighter.Lexers.Coldfusion
- Text.Highlighter.Lexers.CommonLisp
- Text.Highlighter.Lexers.Cpp
- Text.Highlighter.Lexers.Css
- Text.Highlighter.Lexers.Cython
- Text.Highlighter.Lexers.D
- Text.Highlighter.Lexers.DarcsPatch
- Text.Highlighter.Lexers.DebianControl
- Text.Highlighter.Lexers.Diff
- Text.Highlighter.Lexers.Django
- Text.Highlighter.Lexers.Duel
- Text.Highlighter.Lexers.Dylan
- Text.Highlighter.Lexers.Erlang
- Text.Highlighter.Lexers.Factor
- Text.Highlighter.Lexers.Felix
- Text.Highlighter.Lexers.Fortran
- Text.Highlighter.Lexers.GLShader
- Text.Highlighter.Lexers.Gas
- Text.Highlighter.Lexers.GenshiText
- Text.Highlighter.Lexers.Gettext
- Text.Highlighter.Lexers.Gherkin
- Text.Highlighter.Lexers.Gnuplot
- Text.Highlighter.Lexers.Go
- Text.Highlighter.Lexers.GoodDataCL
- Text.Highlighter.Lexers.Groff
- Text.Highlighter.Lexers.Haskell
- Text.Highlighter.Lexers.Haxe
- Text.Highlighter.Lexers.Html
- Text.Highlighter.Lexers.Hybris
- Text.Highlighter.Lexers.Ini
- Text.Highlighter.Lexers.Io
- Text.Highlighter.Lexers.Ioke
- Text.Highlighter.Lexers.IrcLogs
- Text.Highlighter.Lexers.Java
- Text.Highlighter.Lexers.Javascript
- Text.Highlighter.Lexers.LighttpdConf
- Text.Highlighter.Lexers.Llvm
- Text.Highlighter.Lexers.Logtalk
- Text.Highlighter.Lexers.Lua
- Text.Highlighter.Lexers.MOOCode
- Text.Highlighter.Lexers.Mako
- Text.Highlighter.Lexers.Maql
- Text.Highlighter.Lexers.Matlab
- Text.Highlighter.Lexers.MiniD
- Text.Highlighter.Lexers.Modelica
- Text.Highlighter.Lexers.Modula2
- Text.Highlighter.Lexers.MoinWiki
- Text.Highlighter.Lexers.MuPAD
- Text.Highlighter.Lexers.Mxml
- Text.Highlighter.Lexers.MySql
- Text.Highlighter.Lexers.Nasm
- Text.Highlighter.Lexers.Newspeak
- Text.Highlighter.Lexers.NginxConf
- Text.Highlighter.Lexers.NumPy
- Text.Highlighter.Lexers.Objdump
- Text.Highlighter.Lexers.ObjectiveC
- Text.Highlighter.Lexers.ObjectiveJ
- Text.Highlighter.Lexers.Ocaml
- Text.Highlighter.Lexers.Ooc
- Text.Highlighter.Lexers.Perl
- Text.Highlighter.Lexers.Php
- Text.Highlighter.Lexers.PostScript
- Text.Highlighter.Lexers.Povray
- Text.Highlighter.Lexers.Prolog
- Text.Highlighter.Lexers.Properties
- Text.Highlighter.Lexers.ProtoBuf
- Text.Highlighter.Lexers.Python
- Text.Highlighter.Lexers.Python3
- Text.Highlighter.Lexers.Python3Traceback
- Text.Highlighter.Lexers.PythonTraceback
- Text.Highlighter.Lexers.Ragel
- Text.Highlighter.Lexers.RagelEmbedded
- Text.Highlighter.Lexers.Redcode
- Text.Highlighter.Lexers.S
- Text.Highlighter.Lexers.Scala
- Text.Highlighter.Lexers.Scheme
- Text.Highlighter.Lexers.Scss
- Text.Highlighter.Lexers.Smalltalk
- Text.Highlighter.Lexers.Smarty
- Text.Highlighter.Lexers.SourcesList
- Text.Highlighter.Lexers.Sql
- Text.Highlighter.Lexers.SquidConf
- Text.Highlighter.Lexers.Tcl
- Text.Highlighter.Lexers.Tcsh
- Text.Highlighter.Lexers.Tex
- Text.Highlighter.Lexers.Vala
- Text.Highlighter.Lexers.VbNet
- Text.Highlighter.Lexers.Velocity
- Text.Highlighter.Lexers.Verilog
- Text.Highlighter.Lexers.Vim
- Text.Highlighter.Lexers.Xml
- Text.Highlighter.Lexers.Xslt
- Text.Highlighter.Types
- Text.Highlighter
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
executable | Install a "highlighter" executable for highlighting source code as HTML. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- highlighter-0.2.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.2, 0.2.1, 0.2.2 |
---|---|
Dependencies | base (>=4 && <5), blaze-html, bytestring, filepath, mtl, pcre-light, text [details] |
License | BSD-3-Clause |
Author | Alex Suraci |
Maintainer | i.am@toogeneric.com |
Category | Text |
Uploaded | by AlexSuraci at 2012-07-09T23:12:50Z |
Distributions | |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Executables | highlighter |
Downloads | 3444 total (9 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |