|
Text.Highlighting.Kate.Format | Portability | portable | Stability | alpha | Maintainer | John MacFarlane <jgm@berkeley.edu> |
|
|
|
Description |
Formatters that convert a list of annotated source lines to various output formats.
|
|
Synopsis |
|
|
|
Documentation |
|
formatAsXHtml |
:: [FormatOption] | Options
| -> String | Language
| -> [SourceLine] | Source lines to format
| -> Html | | Format a list of highlighted SourceLines as XHtml.
|
|
|
data FormatOption |
Options for formatters.
| Constructors | OptNumberLines | Number lines
| OptNumberFrom Int | Number of first line
| OptTitleAttributes | Include title attributes
|
| Instances | |
|
|
defaultHighlightingCss :: String |
|
Produced by Haddock version 2.1.0 |