pandoc-1.9.1: Conversion between markup formats

Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>

Text.Pandoc.Highlighting

Description

Exports functions for syntax highlighting.

Documentation

highlight

Arguments

:: (FormatOptions -> [SourceLine] -> a)

Formatter

-> Attr

Attributes of the CodeBlock

-> String

Raw contents of the CodeBlock

-> Maybe a

Maybe the formatted result

formatLaTeXInline :: FormatOptions -> [SourceLine] -> String

formatLaTeXBlock :: FormatOptions -> [SourceLine] -> String

formatHtmlInline :: FormatOptions -> [SourceLine] -> Html

formatHtmlBlock :: FormatOptions -> [SourceLine] -> Html

data Style

Instances