highlighting-kate-0.2.4: Syntax highlightingSource codeContentsIndex
Text.Highlighting.Kate.Format
Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Description
Formatters that convert a list of annotated source lines to various output formats.
Synopsis
formatAsXHtml :: [FormatOption] -> String -> [SourceLine] -> Html
data FormatOption
= OptNumberLines
| OptNumberFrom Int
| OptTitleAttributes
defaultHighlightingCss :: String
Documentation
formatAsXHtmlSource
:: [FormatOption]Options
-> StringLanguage
-> [SourceLine]Source lines to format
-> Html
Format a list of highlighted SourceLines as XHtml.
data FormatOption Source
Options for formatters.
Constructors
OptNumberLinesNumber lines
OptNumberFrom IntNumber of first line
OptTitleAttributesInclude title attributes
show/hide Instances
defaultHighlightingCss :: StringSource
Produced by Haddock version 2.6.0