| Copyright | Copyright (C) 2006-2023 John MacFarlane |
|---|---|
| License | BSD3 |
| Maintainer | John MacFarlane <jgm@berkeley.edu> |
| Stability | alpha |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Text.Pandoc.Definition
Description
Definition of Pandoc data structure for format-neutral representation
of documents.
Synopsis
- data Pandoc = Pandoc Meta [Block]
- newtype Meta = Meta {}
- data MetaValue
- = MetaMap (Map Text MetaValue)
- | MetaList [MetaValue]
- | MetaBool Bool
- | MetaString Text
- | MetaInlines [Inline]
- | MetaBlocks [Block]
- nullMeta :: Meta
- isNullMeta :: Meta -> Bool
- lookupMeta :: Text -> Meta -> Maybe MetaValue
- docTitle :: Meta -> [Inline]
- docAuthors :: Meta -> [[Inline]]
- docDate :: Meta -> [Inline]
- data Block
- = Plain [Inline]
- | Para [Inline]
- | LineBlock [[Inline]]
- | CodeBlock Attr Text
- | RawBlock Format Text
- | BlockQuote [Block]
- | OrderedList ListAttributes [[Block]]
- | BulletList [[Block]]
- | DefinitionList [([Inline], [[Block]])]
- | Header Int Attr [Inline]
- | HorizontalRule
- | Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot
- | Figure Attr Caption [Block]
- | Div Attr [Block]
- pattern SimpleFigure :: Attr -> [Inline] -> Target -> Block
- data Inline
- = Str Text
- | Emph [Inline]
- | Underline [Inline]
- | Strong [Inline]
- | Strikeout [Inline]
- | Superscript [Inline]
- | Subscript [Inline]
- | SmallCaps [Inline]
- | Quoted QuoteType [Inline]
- | Cite [Citation] [Inline]
- | Code Attr Text
- | Space
- | SoftBreak
- | LineBreak
- | Math MathType Text
- | RawInline Format Text
- | Link Attr [Inline] Target
- | Image Attr [Inline] Target
- | Note [Block]
- | Span Attr [Inline]
- type ListAttributes = (Int, ListNumberStyle, ListNumberDelim)
- data ListNumberStyle
- data ListNumberDelim
- newtype Format = Format Text
- type Attr = (Text, [Text], [(Text, Text)])
- nullAttr :: Attr
- data Caption = Caption (Maybe ShortCaption) [Block]
- type ShortCaption = [Inline]
- newtype RowHeadColumns = RowHeadColumns Int
- data Alignment
- data ColWidth
- = ColWidth Double
- | ColWidthDefault
- type ColSpec = (Alignment, ColWidth)
- data Row = Row Attr [Cell]
- data TableHead = TableHead Attr [Row]
- data TableBody = TableBody Attr RowHeadColumns [Row] [Row]
- data TableFoot = TableFoot Attr [Row]
- data Cell = Cell Attr Alignment RowSpan ColSpan [Block]
- newtype RowSpan = RowSpan Int
- newtype ColSpan = ColSpan Int
- data QuoteType
- type Target = (Text, Text)
- data MathType
- data Citation = Citation {
- citationId :: Text
- citationPrefix :: [Inline]
- citationSuffix :: [Inline]
- citationMode :: CitationMode
- citationNoteNum :: Int
- citationHash :: Int
- data CitationMode
- pandocTypesVersion :: Version
Documentation
Instances
| Arbitrary Pandoc # | |
| FromJSON Pandoc # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Pandoc # | |
Defined in Text.Pandoc.Definition | |
| Data Pandoc # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Pandoc -> c Pandoc gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Pandoc dataTypeOf :: Pandoc -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Pandoc) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Pandoc) gmapT :: (forall b. Data b => b -> b) -> Pandoc -> Pandoc gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Pandoc -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Pandoc -> r gmapQ :: (forall d. Data d => d -> u) -> Pandoc -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Pandoc -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Pandoc -> m Pandoc gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Pandoc -> m Pandoc gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Pandoc -> m Pandoc | |
| Monoid Pandoc # | |
| Semigroup Pandoc # | |
| Generic Pandoc # | |
| Read Pandoc # | |
Defined in Text.Pandoc.Definition | |
| Show Pandoc # | |
| NFData Pandoc # | |
Defined in Text.Pandoc.Definition | |
| Eq Pandoc # | |
| Ord Pandoc # | |
| HasMeta Pandoc # | |
Defined in Text.Pandoc.Builder Methods setMeta :: ToMetaValue b => Text -> b -> Pandoc -> Pandoc # deleteMeta :: Text -> Pandoc -> Pandoc # | |
| Walkable Block Pandoc # | |
| Walkable Inline Pandoc # | |
| Walkable Meta Pandoc # | |
| Walkable MetaValue Pandoc # | |
| Walkable Pandoc Pandoc # | |
| Walkable [Block] Pandoc # | |
| Walkable [Inline] Pandoc # | |
| type Rep Pandoc # | |
Defined in Text.Pandoc.Definition type Rep Pandoc = D1 ('MetaData "Pandoc" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "Pandoc" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Meta) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) | |
Metadata for the document: title, authors, date.
Instances
| Arbitrary Meta # | |
| FromJSON Meta # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Meta # | |
Defined in Text.Pandoc.Definition | |
| Data Meta # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Meta -> c Meta gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Meta dataTypeOf :: Meta -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Meta) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Meta) gmapT :: (forall b. Data b => b -> b) -> Meta -> Meta gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Meta -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Meta -> r gmapQ :: (forall d. Data d => d -> u) -> Meta -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Meta -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Meta -> m Meta gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Meta -> m Meta gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Meta -> m Meta | |
| Monoid Meta # | |
| Semigroup Meta # | |
| Generic Meta # | |
| Read Meta # | |
Defined in Text.Pandoc.Definition | |
| Show Meta # | |
| NFData Meta # | |
Defined in Text.Pandoc.Definition | |
| Eq Meta # | |
| Ord Meta # | |
| HasMeta Meta # | |
Defined in Text.Pandoc.Builder | |
| Walkable Block Meta # | |
| Walkable Inline Meta # | |
| Walkable Meta Meta # | |
| Walkable Meta Pandoc # | |
| Walkable MetaValue Meta # | |
| Walkable [Block] Meta # | |
| Walkable [Inline] Meta # | |
| type Rep Meta # | |
Defined in Text.Pandoc.Definition | |
Constructors
| MetaMap (Map Text MetaValue) | |
| MetaList [MetaValue] | |
| MetaBool Bool | |
| MetaString Text | |
| MetaInlines [Inline] | |
| MetaBlocks [Block] |
Instances
| FromJSON MetaValue # | |
Defined in Text.Pandoc.Definition | |
| ToJSON MetaValue # | |
Defined in Text.Pandoc.Definition | |
| Data MetaValue # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetaValue -> c MetaValue gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetaValue toConstr :: MetaValue -> Constr dataTypeOf :: MetaValue -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetaValue) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetaValue) gmapT :: (forall b. Data b => b -> b) -> MetaValue -> MetaValue gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetaValue -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetaValue -> r gmapQ :: (forall d. Data d => d -> u) -> MetaValue -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MetaValue -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetaValue -> m MetaValue gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetaValue -> m MetaValue gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetaValue -> m MetaValue | |
| Generic MetaValue # | |
| Read MetaValue # | |
Defined in Text.Pandoc.Definition | |
| Show MetaValue # | |
| NFData MetaValue # | |
Defined in Text.Pandoc.Definition | |
| Eq MetaValue # | |
| Ord MetaValue # | |
Defined in Text.Pandoc.Definition | |
| ToMetaValue MetaValue # | |
Defined in Text.Pandoc.Builder Methods toMetaValue :: MetaValue -> MetaValue # | |
| Walkable Block MetaValue # | |
| Walkable Inline MetaValue # | |
| Walkable MetaValue Meta # | |
| Walkable MetaValue MetaValue # | |
| Walkable MetaValue Pandoc # | |
| Walkable [Block] MetaValue # | |
| Walkable [Inline] MetaValue # | |
| type Rep MetaValue # | |
Defined in Text.Pandoc.Definition type Rep MetaValue = D1 ('MetaData "MetaValue" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) ((C1 ('MetaCons "MetaMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map Text MetaValue))) :+: (C1 ('MetaCons "MetaList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetaValue])) :+: C1 ('MetaCons "MetaBool" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) :+: (C1 ('MetaCons "MetaString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "MetaInlines" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "MetaBlocks" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))))) | |
isNullMeta :: Meta -> Bool #
lookupMeta :: Text -> Meta -> Maybe MetaValue #
Retrieve the metadata value for a given key.
docTitle :: Meta -> [Inline] #
Extract document title from metadata; works just like the old docTitle.
docAuthors :: Meta -> [[Inline]] #
Extract document authors from metadata; works just like the old
docAuthors.
Block element.
Constructors
| Plain [Inline] | Plain text, not a paragraph |
| Para [Inline] | Paragraph |
| LineBlock [[Inline]] | Multiple non-breaking lines |
| CodeBlock Attr Text | Code block (literal) with attributes |
| RawBlock Format Text | Raw block |
| 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. Each list item is a pair consisting of a term (a list of inlines) and one or more definitions (each a list of blocks) |
| Header Int Attr [Inline] | Header - level (integer) and text (inlines) |
| HorizontalRule | Horizontal rule |
| Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot | Table, with attributes, caption, optional short caption, column alignments and widths (required), table head, table bodies, and table foot |
| Figure Attr Caption [Block] | Figure, with attributes, caption, and content (list of blocks) |
| Div Attr [Block] | Generic block container with attributes |
Instances
| Arbitrary Blocks # | |
| Arbitrary Block # | |
| FromJSON Block # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Block # | |
Defined in Text.Pandoc.Definition | |
| Data Block # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Block -> c Block gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Block dataTypeOf :: Block -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Block) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Block) gmapT :: (forall b. Data b => b -> b) -> Block -> Block gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r gmapQ :: (forall d. Data d => d -> u) -> Block -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Block -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Block -> m Block gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block | |
| Monoid Blocks | |
| Semigroup Blocks | |
| Generic Block # | |
| Read Block # | |
Defined in Text.Pandoc.Definition | |
| Show Block # | |
| NFData Block # | |
Defined in Text.Pandoc.Definition | |
| Eq Block # | |
| Ord Block # | |
| ToMetaValue Blocks # | |
Defined in Text.Pandoc.Builder Methods toMetaValue :: Blocks -> MetaValue # | |
| Walkable Block Block # | |
| Walkable Block Caption # | |
| Walkable Block Cell # | |
| Walkable Block Citation # | |
| Walkable Block Inline # | |
| Walkable Block Meta # | |
| Walkable Block MetaValue # | |
| Walkable Block Pandoc # | |
| Walkable Block Row # | |
| Walkable Block TableBody # | |
| Walkable Block TableFoot # | |
| Walkable Block TableHead # | |
| Walkable Inline Block # | |
| Walkable [Block] Block # | |
| Walkable [Block] Caption # | |
| Walkable [Block] Cell # | |
| Walkable [Block] Citation # | |
| Walkable [Block] Inline # | |
| Walkable [Block] Meta # | |
| Walkable [Block] MetaValue # | |
| Walkable [Block] Pandoc # | |
| Walkable [Block] Row # | |
| Walkable [Block] TableBody # | |
| Walkable [Block] TableFoot # | |
| Walkable [Block] TableHead # | |
| Walkable [Inline] Block # | |
| Walkable [Block] [Block] # | |
| type Rep Block # | |
Defined in Text.Pandoc.Definition type Rep Block = D1 ('MetaData "Block" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (((C1 ('MetaCons "Plain" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Para" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "LineBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Inline]])))) :+: ((C1 ('MetaCons "CodeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "RawBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :+: (C1 ('MetaCons "BlockQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListAttributes) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]]))))) :+: ((C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]])) :+: (C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [([Inline], [[Block]])])) :+: C1 ('MetaCons "Header" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "HorizontalRule" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ColSpec]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableHead) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TableBody]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableFoot))))) :+: (C1 ('MetaCons "Figure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) :+: C1 ('MetaCons "Div" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))))) | |
pattern SimpleFigure :: Attr -> [Inline] -> Target -> Block #
Bidirectional patter synonym
It can pass as a Block constructor
>>>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"
Inline elements.
Constructors
| Str Text | Text (string) |
| Emph [Inline] | Emphasized text (list of inlines) |
| Underline [Inline] | Underlined 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) |
| SmallCaps [Inline] | Small caps text (list of inlines) |
| Quoted QuoteType [Inline] | Quoted text (list of inlines) |
| Cite [Citation] [Inline] | Citation (list of inlines) |
| Code Attr Text | Inline code (literal) |
| Space | Inter-word space |
| SoftBreak | Soft line break |
| LineBreak | Hard line break |
| Math MathType Text | TeX math (literal) |
| RawInline Format Text | Raw inline |
| Link Attr [Inline] Target | Hyperlink: alt text (list of inlines), target |
| Image Attr [Inline] Target | Image: alt text (list of inlines), target |
| Note [Block] | Footnote or endnote |
| Span Attr [Inline] | Generic inline container with attributes |
Instances
| Arbitrary Inlines # | |
| Arbitrary Inline # | |
| FromJSON Inline # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Inline # | |
Defined in Text.Pandoc.Definition | |
| Data Inline # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Inline -> c Inline gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Inline dataTypeOf :: Inline -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Inline) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Inline) gmapT :: (forall b. Data b => b -> b) -> Inline -> Inline gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r gmapQ :: (forall d. Data d => d -> u) -> Inline -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Inline -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Inline -> m Inline gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline | |
| IsString Inlines | |
Defined in Text.Pandoc.Builder Methods fromString :: String -> Inlines | |
| Monoid Inlines | |
| Semigroup Inlines | |
| Generic Inline # | |
| Read Inline # | |
Defined in Text.Pandoc.Definition | |
| Show Inline # | |
| NFData Inline # | |
Defined in Text.Pandoc.Definition | |
| Eq Inline # | |
| Ord Inline # | |
| ToMetaValue Inlines # | |
Defined in Text.Pandoc.Builder Methods toMetaValue :: Inlines -> MetaValue # | |
| Walkable Block Inline # | |
| Walkable Inline Block # | |
| Walkable Inline Caption # | |
| Walkable Inline Cell # | |
| Walkable Inline Citation # | |
| Walkable Inline Inline # | |
| Walkable Inline Meta # | |
| Walkable Inline MetaValue # | |
| Walkable Inline Pandoc # | |
| Walkable Inline Row # | |
| Walkable Inline TableBody # | |
| Walkable Inline TableFoot # | |
| Walkable Inline TableHead # | |
| Walkable [Block] Inline # | |
| Walkable [Inline] Block # | |
| Walkable [Inline] Caption # | |
| Walkable [Inline] Cell # | |
| Walkable [Inline] Citation # | |
| Walkable [Inline] Inline # | |
| Walkable [Inline] Meta # | |
| Walkable [Inline] MetaValue # | |
| Walkable [Inline] Pandoc # | |
| Walkable [Inline] Row # | |
| Walkable [Inline] TableBody # | |
| Walkable [Inline] TableFoot # | |
| Walkable [Inline] TableHead # | |
| Walkable [Inline] [Inline] # | |
| type Rep Inline # | |
Defined in Text.Pandoc.Definition type Rep Inline = D1 ('MetaData "Inline" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) ((((C1 ('MetaCons "Str" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Emph" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "Underline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Strong" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Strikeout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "Superscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Subscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "SmallCaps" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Quoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QuoteType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Cite" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Citation]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])))))) :+: (((C1 ('MetaCons "Code" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Space" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SoftBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LineBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Math" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MathType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) :+: ((C1 ('MetaCons "RawInline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Link" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target)))) :+: (C1 ('MetaCons "Image" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target))) :+: (C1 ('MetaCons "Note" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "Span" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))))) | |
type ListAttributes = (Int, ListNumberStyle, ListNumberDelim) #
List attributes. The first element of the triple is the start number of the list.
data ListNumberStyle #
Style of list numbers.
Constructors
| DefaultStyle | |
| Example | |
| Decimal | |
| LowerRoman | |
| UpperRoman | |
| LowerAlpha | |
| UpperAlpha |
Instances
| Arbitrary ListNumberStyle # | |
Defined in Text.Pandoc.Arbitrary | |
| FromJSON ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberStyle # parseJSONList :: Value -> Parser [ListNumberStyle] # omittedField :: Maybe ListNumberStyle # | |
| ToJSON ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberStyle -> Value # toEncoding :: ListNumberStyle -> Encoding # toJSONList :: [ListNumberStyle] -> Value # toEncodingList :: [ListNumberStyle] -> Encoding # omitField :: ListNumberStyle -> Bool # | |
| Data ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListNumberStyle -> c ListNumberStyle gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListNumberStyle toConstr :: ListNumberStyle -> Constr dataTypeOf :: ListNumberStyle -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListNumberStyle) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListNumberStyle) gmapT :: (forall b. Data b => b -> b) -> ListNumberStyle -> ListNumberStyle gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberStyle -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberStyle -> r gmapQ :: (forall d. Data d => d -> u) -> ListNumberStyle -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ListNumberStyle -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListNumberStyle -> m ListNumberStyle gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberStyle -> m ListNumberStyle gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberStyle -> m ListNumberStyle | |
| Generic ListNumberStyle # | |
Defined in Text.Pandoc.Definition Associated Types type Rep ListNumberStyle :: Type -> Type Methods from :: ListNumberStyle -> Rep ListNumberStyle x to :: Rep ListNumberStyle x -> ListNumberStyle | |
| Read ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS ListNumberStyle readList :: ReadS [ListNumberStyle] readPrec :: ReadPrec ListNumberStyle readListPrec :: ReadPrec [ListNumberStyle] | |
| Show ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> ListNumberStyle -> ShowS show :: ListNumberStyle -> String showList :: [ListNumberStyle] -> ShowS | |
| NFData ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods rnf :: ListNumberStyle -> () | |
| Eq ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods (==) :: ListNumberStyle -> ListNumberStyle -> Bool (/=) :: ListNumberStyle -> ListNumberStyle -> Bool | |
| Ord ListNumberStyle # | |
Defined in Text.Pandoc.Definition Methods compare :: ListNumberStyle -> ListNumberStyle -> Ordering (<) :: ListNumberStyle -> ListNumberStyle -> Bool (<=) :: ListNumberStyle -> ListNumberStyle -> Bool (>) :: ListNumberStyle -> ListNumberStyle -> Bool (>=) :: ListNumberStyle -> ListNumberStyle -> Bool max :: ListNumberStyle -> ListNumberStyle -> ListNumberStyle min :: ListNumberStyle -> ListNumberStyle -> ListNumberStyle | |
| type Rep ListNumberStyle # | |
Defined in Text.Pandoc.Definition type Rep ListNumberStyle = D1 ('MetaData "ListNumberStyle" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) ((C1 ('MetaCons "DefaultStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Example" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Decimal" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LowerRoman" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperRoman" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LowerAlpha" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperAlpha" 'PrefixI 'False) (U1 :: Type -> Type)))) | |
data ListNumberDelim #
Delimiter of list numbers.
Constructors
| DefaultDelim | |
| Period | |
| OneParen | |
| TwoParens |
Instances
| Arbitrary ListNumberDelim # | |
Defined in Text.Pandoc.Arbitrary | |
| FromJSON ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberDelim # parseJSONList :: Value -> Parser [ListNumberDelim] # omittedField :: Maybe ListNumberDelim # | |
| ToJSON ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberDelim -> Value # toEncoding :: ListNumberDelim -> Encoding # toJSONList :: [ListNumberDelim] -> Value # toEncodingList :: [ListNumberDelim] -> Encoding # omitField :: ListNumberDelim -> Bool # | |
| Data ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListNumberDelim -> c ListNumberDelim gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListNumberDelim toConstr :: ListNumberDelim -> Constr dataTypeOf :: ListNumberDelim -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListNumberDelim) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListNumberDelim) gmapT :: (forall b. Data b => b -> b) -> ListNumberDelim -> ListNumberDelim gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberDelim -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListNumberDelim -> r gmapQ :: (forall d. Data d => d -> u) -> ListNumberDelim -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ListNumberDelim -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListNumberDelim -> m ListNumberDelim gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberDelim -> m ListNumberDelim gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListNumberDelim -> m ListNumberDelim | |
| Generic ListNumberDelim # | |
Defined in Text.Pandoc.Definition Associated Types type Rep ListNumberDelim :: Type -> Type Methods from :: ListNumberDelim -> Rep ListNumberDelim x to :: Rep ListNumberDelim x -> ListNumberDelim | |
| Read ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS ListNumberDelim readList :: ReadS [ListNumberDelim] readPrec :: ReadPrec ListNumberDelim readListPrec :: ReadPrec [ListNumberDelim] | |
| Show ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> ListNumberDelim -> ShowS show :: ListNumberDelim -> String showList :: [ListNumberDelim] -> ShowS | |
| NFData ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods rnf :: ListNumberDelim -> () | |
| Eq ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods (==) :: ListNumberDelim -> ListNumberDelim -> Bool (/=) :: ListNumberDelim -> ListNumberDelim -> Bool | |
| Ord ListNumberDelim # | |
Defined in Text.Pandoc.Definition Methods compare :: ListNumberDelim -> ListNumberDelim -> Ordering (<) :: ListNumberDelim -> ListNumberDelim -> Bool (<=) :: ListNumberDelim -> ListNumberDelim -> Bool (>) :: ListNumberDelim -> ListNumberDelim -> Bool (>=) :: ListNumberDelim -> ListNumberDelim -> Bool max :: ListNumberDelim -> ListNumberDelim -> ListNumberDelim min :: ListNumberDelim -> ListNumberDelim -> ListNumberDelim | |
| type Rep ListNumberDelim # | |
Defined in Text.Pandoc.Definition type Rep ListNumberDelim = D1 ('MetaData "ListNumberDelim" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) ((C1 ('MetaCons "DefaultDelim" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Period" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OneParen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TwoParens" 'PrefixI 'False) (U1 :: Type -> Type))) | |
Formats for raw blocks
Constructors
| Format Text |
Instances
| FromJSON Format # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Format # | |
Defined in Text.Pandoc.Definition | |
| Data Format # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Format -> c Format gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Format dataTypeOf :: Format -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Format) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Format) gmapT :: (forall b. Data b => b -> b) -> Format -> Format gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Format -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Format -> r gmapQ :: (forall d. Data d => d -> u) -> Format -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Format -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Format -> m Format gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Format -> m Format gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Format -> m Format | |
| IsString Format # | |
Defined in Text.Pandoc.Definition Methods fromString :: String -> Format | |
| Generic Format # | |
| Read Format # | |
Defined in Text.Pandoc.Definition | |
| Show Format # | |
| NFData Format # | |
Defined in Text.Pandoc.Definition | |
| Eq Format # | |
| Ord Format # | |
| (ToJSONFilter m a, MonadIO m) => ToJSONFilter m (Maybe Format -> a) # | |
Defined in Text.Pandoc.JSON Methods toJSONFilter :: (Maybe Format -> a) -> m () # | |
| type Rep Format # | |
Defined in Text.Pandoc.Definition type Rep Format = D1 ('MetaData "Format" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'True) (C1 ('MetaCons "Format" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |
The caption of a table or figure, with optional short caption.
Constructors
| Caption (Maybe ShortCaption) [Block] |
Instances
| Arbitrary Caption # | |
| FromJSON Caption # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Caption # | |
Defined in Text.Pandoc.Definition | |
| Data Caption # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Caption -> c Caption gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Caption dataTypeOf :: Caption -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Caption) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Caption) gmapT :: (forall b. Data b => b -> b) -> Caption -> Caption gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Caption -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Caption -> r gmapQ :: (forall d. Data d => d -> u) -> Caption -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Caption -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Caption -> m Caption gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Caption -> m Caption gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Caption -> m Caption | |
| Generic Caption # | |
| Read Caption # | |
Defined in Text.Pandoc.Definition | |
| Show Caption # | |
| NFData Caption # | |
Defined in Text.Pandoc.Definition | |
| Eq Caption # | |
| Ord Caption # | |
| Walkable Block Caption # | |
| Walkable Inline Caption # | |
| Walkable [Block] Caption # | |
| Walkable [Inline] Caption # | |
| type Rep Caption # | |
Defined in Text.Pandoc.Definition type Rep Caption = D1 ('MetaData "Caption" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "Caption" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShortCaption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) | |
type ShortCaption = [Inline] #
A short caption, for use in, for instance, lists of figures.
newtype 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
| RowHeadColumns Int |
Instances
Alignment of a table column.
Constructors
| AlignLeft | |
| AlignRight | |
| AlignCenter | |
| AlignDefault |
Instances
| Arbitrary Alignment # | |
| FromJSON Alignment # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Alignment # | |
Defined in Text.Pandoc.Definition | |
| Data Alignment # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Alignment -> c Alignment gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Alignment toConstr :: Alignment -> Constr dataTypeOf :: Alignment -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Alignment) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Alignment) gmapT :: (forall b. Data b => b -> b) -> Alignment -> Alignment gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Alignment -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Alignment -> r gmapQ :: (forall d. Data d => d -> u) -> Alignment -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Alignment -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Alignment -> m Alignment gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Alignment -> m Alignment gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Alignment -> m Alignment | |
| Generic Alignment # | |
| Read Alignment # | |
Defined in Text.Pandoc.Definition | |
| Show Alignment # | |
| NFData Alignment # | |
Defined in Text.Pandoc.Definition | |
| Eq Alignment # | |
| Ord Alignment # | |
Defined in Text.Pandoc.Definition | |
| type Rep Alignment # | |
Defined in Text.Pandoc.Definition type Rep Alignment = D1 ('MetaData "Alignment" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) ((C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlignCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignDefault" 'PrefixI 'False) (U1 :: Type -> Type))) | |
The width of a table column, as a percentage of the text width.
Constructors
| ColWidth Double | |
| ColWidthDefault |
Instances
| FromJSON ColWidth # | |
Defined in Text.Pandoc.Definition | |
| ToJSON ColWidth # | |
Defined in Text.Pandoc.Definition | |
| Data ColWidth # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColWidth -> c ColWidth gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColWidth toConstr :: ColWidth -> Constr dataTypeOf :: ColWidth -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColWidth) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColWidth) gmapT :: (forall b. Data b => b -> b) -> ColWidth -> ColWidth gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColWidth -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColWidth -> r gmapQ :: (forall d. Data d => d -> u) -> ColWidth -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ColWidth -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColWidth -> m ColWidth gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColWidth -> m ColWidth gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColWidth -> m ColWidth | |
| Generic ColWidth # | |
| Read ColWidth # | |
Defined in Text.Pandoc.Definition | |
| Show ColWidth # | |
| NFData ColWidth # | |
Defined in Text.Pandoc.Definition | |
| Eq ColWidth # | |
| Ord ColWidth # | |
Defined in Text.Pandoc.Definition | |
| type Rep ColWidth # | |
Defined in Text.Pandoc.Definition type Rep ColWidth = D1 ('MetaData "ColWidth" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "ColWidth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :+: C1 ('MetaCons "ColWidthDefault" 'PrefixI 'False) (U1 :: Type -> Type)) | |
A table row.
Instances
| Arbitrary Row # | |
| FromJSON Row # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Row # | |
Defined in Text.Pandoc.Definition | |
| Data Row # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Row -> c Row gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Row dataTypeOf :: Row -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Row) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Row) gmapT :: (forall b. Data b => b -> b) -> Row -> Row gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r gmapQ :: (forall d. Data d => d -> u) -> Row -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Row -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Row -> m Row gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row | |
| Generic Row # | |
| Read Row # | |
Defined in Text.Pandoc.Definition | |
| Show Row # | |
| NFData Row # | |
Defined in Text.Pandoc.Definition | |
| Eq Row # | |
| Ord Row # | |
| Walkable Block Row # | |
| Walkable Inline Row # | |
| Walkable [Block] Row # | |
| Walkable [Inline] Row # | |
| type Rep Row # | |
Defined in Text.Pandoc.Definition type Rep Row = D1 ('MetaData "Row" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "Row" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Cell]))) | |
The head of a table.
Instances
| Arbitrary TableHead # | |
| FromJSON TableHead # | |
Defined in Text.Pandoc.Definition | |
| ToJSON TableHead # | |
Defined in Text.Pandoc.Definition | |
| Data TableHead # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableHead -> c TableHead gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableHead toConstr :: TableHead -> Constr dataTypeOf :: TableHead -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableHead) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableHead) gmapT :: (forall b. Data b => b -> b) -> TableHead -> TableHead gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableHead -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableHead -> r gmapQ :: (forall d. Data d => d -> u) -> TableHead -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TableHead -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead | |
| Generic TableHead # | |
| Read TableHead # | |
Defined in Text.Pandoc.Definition | |
| Show TableHead # | |
| NFData TableHead # | |
Defined in Text.Pandoc.Definition | |
| Eq TableHead # | |
| Ord TableHead # | |
Defined in Text.Pandoc.Definition | |
| Walkable Block TableHead # | |
| Walkable Inline TableHead # | |
| Walkable [Block] TableHead # | |
| Walkable [Inline] TableHead # | |
| type Rep TableHead # | |
Defined in Text.Pandoc.Definition type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "TableHead" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]))) | |
A body of a table, with an intermediate head, intermediate body, and the specified number of row header columns in the intermediate body.
Constructors
| TableBody Attr RowHeadColumns [Row] [Row] |
Instances
| Arbitrary TableBody # | |
| FromJSON TableBody # | |
Defined in Text.Pandoc.Definition | |
| ToJSON TableBody # | |
Defined in Text.Pandoc.Definition | |
| Data TableBody # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableBody -> c TableBody gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableBody toConstr :: TableBody -> Constr dataTypeOf :: TableBody -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableBody) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableBody) gmapT :: (forall b. Data b => b -> b) -> TableBody -> TableBody gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableBody -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableBody -> r gmapQ :: (forall d. Data d => d -> u) -> TableBody -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TableBody -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody | |
| Generic TableBody # | |
| Read TableBody # | |
Defined in Text.Pandoc.Definition | |
| Show TableBody # | |
| NFData TableBody # | |
Defined in Text.Pandoc.Definition | |
| Eq TableBody # | |
| Ord TableBody # | |
Defined in Text.Pandoc.Definition | |
| Walkable Block TableBody # | |
| Walkable Inline TableBody # | |
| Walkable [Block] TableBody # | |
| Walkable [Inline] TableBody # | |
| type Rep TableBody # | |
Defined in Text.Pandoc.Definition type Rep TableBody = D1 ('MetaData "TableBody" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "TableBody" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RowHeadColumns)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row])))) | |
The foot of a table.
Instances
| Arbitrary TableFoot # | |
| FromJSON TableFoot # | |
Defined in Text.Pandoc.Definition | |
| ToJSON TableFoot # | |
Defined in Text.Pandoc.Definition | |
| Data TableFoot # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableFoot -> c TableFoot gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableFoot toConstr :: TableFoot -> Constr dataTypeOf :: TableFoot -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableFoot) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableFoot) gmapT :: (forall b. Data b => b -> b) -> TableFoot -> TableFoot gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableFoot -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableFoot -> r gmapQ :: (forall d. Data d => d -> u) -> TableFoot -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TableFoot -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot | |
| Generic TableFoot # | |
| Read TableFoot # | |
Defined in Text.Pandoc.Definition | |
| Show TableFoot # | |
| NFData TableFoot # | |
Defined in Text.Pandoc.Definition | |
| Eq TableFoot # | |
| Ord TableFoot # | |
Defined in Text.Pandoc.Definition | |
| Walkable Block TableFoot # | |
| Walkable Inline TableFoot # | |
| Walkable [Block] TableFoot # | |
| Walkable [Inline] TableFoot # | |
| type Rep TableFoot # | |
Defined in Text.Pandoc.Definition type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "TableFoot" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]))) | |
A table cell.
Instances
| Arbitrary Cell # | |
| FromJSON Cell # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Cell # | |
Defined in Text.Pandoc.Definition | |
| Data Cell # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cell -> c Cell gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cell dataTypeOf :: Cell -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cell) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cell) gmapT :: (forall b. Data b => b -> b) -> Cell -> Cell gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r gmapQ :: (forall d. Data d => d -> u) -> Cell -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Cell -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cell -> m Cell gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell | |
| Generic Cell # | |
| Read Cell # | |
Defined in Text.Pandoc.Definition | |
| Show Cell # | |
| NFData Cell # | |
Defined in Text.Pandoc.Definition | |
| Eq Cell # | |
| Ord Cell # | |
| Walkable Block Cell # | |
| Walkable Inline Cell # | |
| Walkable [Block] Cell # | |
| Walkable [Inline] Cell # | |
| type Rep Cell # | |
Defined in Text.Pandoc.Definition type Rep Cell = D1 ('MetaData "Cell" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Alignment)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RowSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ColSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))))) | |
The number of rows occupied by a cell; the height of a cell.
Constructors
| RowSpan Int |
Instances
| FromJSON RowSpan # | |
Defined in Text.Pandoc.Definition | |
| ToJSON RowSpan # | |
Defined in Text.Pandoc.Definition | |
| Data RowSpan # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RowSpan -> c RowSpan gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RowSpan dataTypeOf :: RowSpan -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RowSpan) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RowSpan) gmapT :: (forall b. Data b => b -> b) -> RowSpan -> RowSpan gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RowSpan -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RowSpan -> r gmapQ :: (forall d. Data d => d -> u) -> RowSpan -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RowSpan -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RowSpan -> m RowSpan gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RowSpan -> m RowSpan gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RowSpan -> m RowSpan | |
| Enum RowSpan # | |
Defined in Text.Pandoc.Definition | |
| Generic RowSpan # | |
| Num RowSpan # | |
| Read RowSpan # | |
Defined in Text.Pandoc.Definition | |
| Show RowSpan # | |
| NFData RowSpan # | |
Defined in Text.Pandoc.Definition | |
| Eq RowSpan # | |
| Ord RowSpan # | |
| type Rep RowSpan # | |
Defined in Text.Pandoc.Definition type Rep RowSpan = D1 ('MetaData "RowSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'True) (C1 ('MetaCons "RowSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |
The number of columns occupied by a cell; the width of a cell.
Constructors
| ColSpan Int |
Instances
| FromJSON ColSpan # | |
Defined in Text.Pandoc.Definition | |
| ToJSON ColSpan # | |
Defined in Text.Pandoc.Definition | |
| Data ColSpan # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColSpan -> c ColSpan gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColSpan dataTypeOf :: ColSpan -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColSpan) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColSpan) gmapT :: (forall b. Data b => b -> b) -> ColSpan -> ColSpan gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColSpan -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColSpan -> r gmapQ :: (forall d. Data d => d -> u) -> ColSpan -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ColSpan -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColSpan -> m ColSpan gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColSpan -> m ColSpan gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColSpan -> m ColSpan | |
| Enum ColSpan # | |
Defined in Text.Pandoc.Definition | |
| Generic ColSpan # | |
| Num ColSpan # | |
| Read ColSpan # | |
Defined in Text.Pandoc.Definition | |
| Show ColSpan # | |
| NFData ColSpan # | |
Defined in Text.Pandoc.Definition | |
| Eq ColSpan # | |
| Ord ColSpan # | |
| type Rep ColSpan # | |
Defined in Text.Pandoc.Definition type Rep ColSpan = D1 ('MetaData "ColSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'True) (C1 ('MetaCons "ColSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |
Type of quotation marks to use in Quoted inline.
Constructors
| SingleQuote | |
| DoubleQuote |
Instances
| Arbitrary QuoteType # | |
| FromJSON QuoteType # | |
Defined in Text.Pandoc.Definition | |
| ToJSON QuoteType # | |
Defined in Text.Pandoc.Definition | |
| Data QuoteType # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QuoteType -> c QuoteType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QuoteType toConstr :: QuoteType -> Constr dataTypeOf :: QuoteType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QuoteType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QuoteType) gmapT :: (forall b. Data b => b -> b) -> QuoteType -> QuoteType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QuoteType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QuoteType -> r gmapQ :: (forall d. Data d => d -> u) -> QuoteType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> QuoteType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType | |
| Generic QuoteType # | |
| Read QuoteType # | |
Defined in Text.Pandoc.Definition | |
| Show QuoteType # | |
| NFData QuoteType # | |
Defined in Text.Pandoc.Definition | |
| Eq QuoteType # | |
| Ord QuoteType # | |
Defined in Text.Pandoc.Definition | |
| type Rep QuoteType # | |
Defined in Text.Pandoc.Definition type Rep QuoteType = D1 ('MetaData "QuoteType" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "SingleQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoubleQuote" 'PrefixI 'False) (U1 :: Type -> Type)) | |
Type of math element (display or inline).
Constructors
| DisplayMath | |
| InlineMath |
Instances
| Arbitrary MathType # | |
| FromJSON MathType # | |
Defined in Text.Pandoc.Definition | |
| ToJSON MathType # | |
Defined in Text.Pandoc.Definition | |
| Data MathType # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MathType -> c MathType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MathType toConstr :: MathType -> Constr dataTypeOf :: MathType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MathType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MathType) gmapT :: (forall b. Data b => b -> b) -> MathType -> MathType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MathType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MathType -> r gmapQ :: (forall d. Data d => d -> u) -> MathType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MathType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MathType -> m MathType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MathType -> m MathType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MathType -> m MathType | |
| Generic MathType # | |
| Read MathType # | |
Defined in Text.Pandoc.Definition | |
| Show MathType # | |
| NFData MathType # | |
Defined in Text.Pandoc.Definition | |
| Eq MathType # | |
| Ord MathType # | |
Defined in Text.Pandoc.Definition | |
| type Rep MathType # | |
Defined in Text.Pandoc.Definition type Rep MathType = D1 ('MetaData "MathType" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "DisplayMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineMath" 'PrefixI 'False) (U1 :: Type -> Type)) | |
Constructors
| Citation | |
Fields
| |
Instances
| Arbitrary Citation # | |
| FromJSON Citation # | |
Defined in Text.Pandoc.Definition | |
| ToJSON Citation # | |
Defined in Text.Pandoc.Definition | |
| Data Citation # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Citation -> c Citation gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Citation toConstr :: Citation -> Constr dataTypeOf :: Citation -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Citation) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Citation) gmapT :: (forall b. Data b => b -> b) -> Citation -> Citation gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Citation -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Citation -> r gmapQ :: (forall d. Data d => d -> u) -> Citation -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Citation -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Citation -> m Citation gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Citation -> m Citation gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Citation -> m Citation | |
| Generic Citation # | |
| Read Citation # | |
Defined in Text.Pandoc.Definition | |
| Show Citation # | |
| NFData Citation # | |
Defined in Text.Pandoc.Definition | |
| Eq Citation # | |
| Ord Citation # | |
Defined in Text.Pandoc.Definition | |
| Walkable Block Citation # | |
| Walkable Inline Citation # | |
| Walkable [Block] Citation # | |
| Walkable [Inline] Citation # | |
| type Rep Citation # | |
Defined in Text.Pandoc.Definition type Rep Citation = D1 ('MetaData "Citation" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "citationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "citationPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Just "citationSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :*: (S1 ('MetaSel ('Just "citationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CitationMode) :*: (S1 ('MetaSel ('Just "citationNoteNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "citationHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))) | |
data CitationMode #
Constructors
| AuthorInText | |
| SuppressAuthor | |
| NormalCitation |
Instances
| Arbitrary CitationMode # | |
Defined in Text.Pandoc.Arbitrary | |
| FromJSON CitationMode # | |
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser CitationMode # parseJSONList :: Value -> Parser [CitationMode] # omittedField :: Maybe CitationMode # | |
| ToJSON CitationMode # | |
Defined in Text.Pandoc.Definition Methods toJSON :: CitationMode -> Value # toEncoding :: CitationMode -> Encoding # toJSONList :: [CitationMode] -> Value # toEncodingList :: [CitationMode] -> Encoding # omitField :: CitationMode -> Bool # | |
| Data CitationMode # | |
Defined in Text.Pandoc.Definition Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CitationMode -> c CitationMode gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CitationMode toConstr :: CitationMode -> Constr dataTypeOf :: CitationMode -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CitationMode) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CitationMode) gmapT :: (forall b. Data b => b -> b) -> CitationMode -> CitationMode gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CitationMode -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CitationMode -> r gmapQ :: (forall d. Data d => d -> u) -> CitationMode -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CitationMode -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CitationMode -> m CitationMode gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CitationMode -> m CitationMode gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CitationMode -> m CitationMode | |
| Generic CitationMode # | |
Defined in Text.Pandoc.Definition Associated Types type Rep CitationMode :: Type -> Type | |
| Read CitationMode # | |
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS CitationMode readList :: ReadS [CitationMode] readPrec :: ReadPrec CitationMode readListPrec :: ReadPrec [CitationMode] | |
| Show CitationMode # | |
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> CitationMode -> ShowS show :: CitationMode -> String showList :: [CitationMode] -> ShowS | |
| NFData CitationMode # | |
Defined in Text.Pandoc.Definition Methods rnf :: CitationMode -> () | |
| Eq CitationMode # | |
Defined in Text.Pandoc.Definition | |
| Ord CitationMode # | |
Defined in Text.Pandoc.Definition Methods compare :: CitationMode -> CitationMode -> Ordering (<) :: CitationMode -> CitationMode -> Bool (<=) :: CitationMode -> CitationMode -> Bool (>) :: CitationMode -> CitationMode -> Bool (>=) :: CitationMode -> CitationMode -> Bool max :: CitationMode -> CitationMode -> CitationMode min :: CitationMode -> CitationMode -> CitationMode | |
| type Rep CitationMode # | |
Defined in Text.Pandoc.Definition type Rep CitationMode = D1 ('MetaData "CitationMode" "Text.Pandoc.Definition" "pandoc-types-1.23.1-45sXE9u6ZETDNYo8x4tU2U" 'False) (C1 ('MetaCons "AuthorInText" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SuppressAuthor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NormalCitation" 'PrefixI 'False) (U1 :: Type -> Type))) | |
pandocTypesVersion :: Version #