HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulepandoc-types-1.23.1.2Haskell2010

Text.Pandoc.Definition

Definition of Pandoc data structure for format-neutral representation of documents.

Synopsis
datadata Pandoc
#

Constructors

Instances21Eq, Data, Ord, Read, Show, Generic, …
newtypenewtype Meta

Metadata for the document: title, authors, date.

Constructors

Instances21Eq, Data, Ord, Read, Show, Generic, …
datadata MetaValue
#
Instances18Eq, Data, Ord, Read, Show, Generic, …
datadata Block

Block element.

Constructors

Instances42Eq, Data, Ord, Read, Show, Generic, …
patternpattern SimpleFigure :: Attr -> [Inline] -> Target -> Block

Bidirectional pattern synonym

It can pass as a Block constructor

Example1 expression
SimpleFigure nullAttr [] (T.pack "", T.pack "title")Para [Image ("",[],[]) [] ("","fig:title")]

It can be used to pattern match >>> let img = Para [Image undefined undefined (undefined, T.pack "title")] >>> case img of { SimpleFigure _ _ _ -> True; _ -> False } False >>> let fig = Para [Image undefined undefined (undefined, T.pack "fig:title")] >>> case fig of { SimpleFigure _ _ tit -> snd tit; _ -> T.pack "" } "title"

datadata Inline

Inline elements.

Constructors

Instances43Eq, Data, Ord, Read, Show, IsString, …
Instances11Eq, Data, Ord, Read, Show, Generic, …

Delimiter of list numbers.

Instances11Eq, Data, Ord, Read, Show, Generic, …
newtypenewtype Format

Formats for raw blocks

Constructors

Instances12Eq, Data, Ord, Read, Show, IsString, …
datadata Caption

The caption of a table or figure, with optional short caption.

Instances15Eq, Data, Ord, Read, Show, Generic, …
newtypenewtype RowHeadColumns

The number of columns taken up by the row head of each row of a TableBody. The row body takes up the remaining columns.

Constructors

Instances12Enum, Eq, Data, Num, Ord, Read, …
datadata Alignment

Alignment of a table column.

Instances11Eq, Data, Ord, Read, Show, Generic, …
datadata ColWidth

The width of a table column, as a percentage of the text width.

Instances10Eq, Data, Ord, Read, Show, Generic, …
datadata Row

A table row.

Constructors

Instances15Eq, Data, Ord, Read, Show, Generic, …
datadata TableHead

The head of a table.

Constructors

Instances15Eq, Data, Ord, Read, Show, Generic, …
datadata TableBody

A body of a table, with an intermediate head, intermediate body, and the specified number of row header columns in the intermediate body.

Instances15Eq, Data, Ord, Read, Show, Generic, …
datadata TableFoot

The foot of a table.

Constructors

Instances15Eq, Data, Ord, Read, Show, Generic, …
datadata Cell

A table cell.

Instances15Eq, Data, Ord, Read, Show, Generic, …
newtypenewtype RowSpan

The number of rows occupied by a cell; the height of a cell.

Constructors

Instances12Enum, Eq, Data, Num, Ord, Read, …
newtypenewtype ColSpan

The number of columns occupied by a cell; the width of a cell.

Constructors

Instances12Enum, Eq, Data, Num, Ord, Read, …
datadata QuoteType

Type of quotation marks to use in Quoted inline.

Instances11Eq, Data, Ord, Read, Show, Generic, …
datadata MathType

Type of math element (display or inline).

Instances11Eq, Data, Ord, Read, Show, Generic, …
datadata Citation
#
Instances15Eq, Data, Ord, Read, Show, Generic, …
datadata CitationMode
#
Instances11Eq, Data, Ord, Read, Show, Generic, …