|
Language.Haskell.HsColour |
|
|
Description |
This is a library with colourises Haskell code.
It currently has three output formats:
- ANSI terminal codes
- LaTeX macros
- HTML with font tags
- HTML with CSS.
|
|
Synopsis |
|
|
|
Documentation |
|
|
The supported output formats.
| Constructors | TTY | ANSI terminal codes
| LaTeX | TeX macros
| HTML | HTML with font tags
| CSS | HTML with CSS.
|
|
|
|
|
Colour preferences.
| Constructors | | Instances | |
|
|
|
:: Output | Output format.
| -> ColourPrefs | Colour preferences for formats that support it.
| -> Bool | Whether to include anchors.
| -> String | Haskell source code.
| -> String | Coloured Haskell source code.
| Colourise Haskell source code with the give output format.
|
|
|
Produced by Haddock version 2.6.0 |