|
|
|
|
|
Description |
Definition of Pandoc data structure for format-neutral representation
of documents.
|
|
Synopsis |
|
|
|
Documentation |
|
data Pandoc |
Constructors | | Instances | |
|
|
data Meta |
Bibliographic information for the document: title (list of Inline),
authors (list of strings), date (string).
| Constructors | | Instances | |
|
|
data Alignment |
Alignment of a table column.
| Constructors | AlignLeft | | AlignRight | | AlignCenter | | AlignDefault | |
| Instances | |
|
|
type ListAttributes = (Int, ListNumberStyle, ListNumberDelim) |
List attributes.
|
|
data ListNumberStyle |
Style of list numbers.
| Constructors | DefaultStyle | | Decimal | | LowerRoman | | UpperRoman | | LowerAlpha | | UpperAlpha | |
| Instances | |
|
|
data ListNumberDelim |
Delimiter of list numbers.
| Constructors | DefaultDelim | | Period | | OneParen | | TwoParens | |
| Instances | |
|
|
data Block |
Block element.
| Constructors | Plain [Inline] | Plain text, not a paragraph
| Para [Inline] | Paragraph
| CodeBlock String | Code block (literal)
| RawHtml String | Raw HTML block (literal)
| BlockQuote [Block] | Block quote (list of blocks)
| OrderedList ListAttributes [[Block]] | Ordered list (attributes
and a list of items, each a list of blocks)
| BulletList [[Block]] | Bullet list (list of items, each
a list of blocks)
| DefinitionList [([Inline], [Block])] | Definition list
(list of items, each a pair of an inline list,
the term, and a block list)
| Header Int [Inline] | Header - level (integer) and text (inlines)
| HorizontalRule | Horizontal rule
| Table [Inline] [Alignment] [Float] [[Block]] [[[Block]]] | Table,
with caption, column alignments,
relative column widths, column headers
(each a list of blocks), and rows
(each a list of lists of blocks)
| Null | Nothing
|
| Instances | |
|
|
data QuoteType |
Type of quotation marks to use in Quoted inline.
| Constructors | | Instances | |
|
|
type Target |
|
|
data Inline |
Inline elements.
| Constructors | Str String | Text (string)
| Emph [Inline] | Emphasized text (list of inlines)
| Strong [Inline] | Strongly emphasized text (list of inlines)
| Strikeout [Inline] | Strikeout text (list of inlines)
| Superscript [Inline] | Superscripted text (list of inlines)
| Subscript [Inline] | Subscripted text (list of inlines)
| Quoted QuoteType [Inline] | Quoted text (list of inlines)
| Code String | Inline code (literal)
| Space | Inter-word space
| EmDash | Em dash
| EnDash | En dash
| Apostrophe | Apostrophe
| Ellipses | Ellipses
| LineBreak | Hard line break
| TeX String | LaTeX code (literal)
| HtmlInline String | HTML code (literal)
| Link [Inline] Target | Hyperlink: text (list of inlines), target
| Image [Inline] Target | Image: alt text (list of inlines), target
and target
| Note [Block] | Footnote or endnote
|
| Instances | |
|
|
Produced by Haddock version 0.8 |