highlighting-kate-0.2.5.1: Syntax highlighting

Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>

Text.Highlighting.Kate.Format

Description

Formatters that convert a list of annotated source lines to various output formats.

Synopsis

Documentation

formatAsXHtmlSource

Arguments

:: [FormatOption]

Options

-> String

Language

-> [SourceLine]

Source lines to format

-> Html 

Format a list of highlighted SourceLines as XHtml.

data FormatOption Source

Options for formatters.

Constructors

OptNumberLines

Number lines

OptNumberFrom Int

Number of first line

OptTitleAttributes

Include title attributes