Copyright | Copyright (C) 2006-2019 John MacFarlane |
---|---|
License | BSD3 |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
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 [Inline] [Alignment] [Double] [TableCell] [[TableCell]]
- | Div Attr [Block]
- | Null
- data Inline
- = Str Text
- | Emph [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]
- data Alignment
- type ListAttributes = (Int, ListNumberStyle, ListNumberDelim)
- data ListNumberStyle
- data ListNumberDelim
- newtype Format = Format Text
- type Attr = (Text, [Text], [(Text, Text)])
- nullAttr :: Attr
- type TableCell = [Block]
- 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
Eq Pandoc Source # | |
Data Pandoc Source # | |
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 | |
Ord Pandoc Source # | |
Read Pandoc Source # | |
Defined in Text.Pandoc.Definition | |
Show Pandoc Source # | |
Generic Pandoc Source # | |
Semigroup Pandoc Source # | |
Monoid Pandoc Source # | |
Arbitrary Pandoc Source # | |
ToJSON Pandoc Source # | |
FromJSON Pandoc Source # | |
NFData Pandoc Source # | |
Defined in Text.Pandoc.Definition | |
HasMeta Pandoc Source # | |
Defined in Text.Pandoc.Builder | |
HasMeta Pandoc Source # | |
Defined in Text.Pandoc.Legacy.Builder | |
Walkable Inline Pandoc Source # | |
Walkable Block Pandoc Source # | |
Walkable Pandoc Pandoc Source # | |
Walkable [Inline] Pandoc Source # | |
Walkable [Block] Pandoc Source # | |
type Rep Pandoc Source # | |
Defined in Text.Pandoc.Definition type Rep Pandoc = D1 ('MetaData "Pandoc" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" 'False) (C1 ('MetaCons "Pandoc" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Meta) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block]))) |
Metadata for the document: title, authors, date.
Instances
Eq Meta Source # | |
Data Meta Source # | |
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 | |
Ord Meta Source # | |
Read Meta Source # | |
Defined in Text.Pandoc.Definition | |
Show Meta Source # | |
Generic Meta Source # | |
Semigroup Meta Source # | |
Monoid Meta Source # | |
Arbitrary Meta Source # | |
ToJSON Meta Source # | |
FromJSON Meta Source # | |
NFData Meta Source # | |
Defined in Text.Pandoc.Definition | |
HasMeta Meta Source # | |
Defined in Text.Pandoc.Builder | |
HasMeta Meta Source # | |
Defined in Text.Pandoc.Legacy.Builder | |
Walkable Inline Meta Source # | |
Walkable Block Meta Source # | |
Walkable Meta Meta Source # | |
Walkable [Inline] Meta Source # | |
Walkable [Block] Meta Source # | |
type Rep Meta Source # | |
Defined in Text.Pandoc.Definition |
Constructors
MetaMap (Map Text MetaValue) | |
MetaList [MetaValue] | |
MetaBool Bool | |
MetaString Text | |
MetaInlines [Inline] | |
MetaBlocks [Block] |
Instances
Eq MetaValue Source # | |
Data MetaValue Source # | |
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 | |
Ord MetaValue Source # | |
Defined in Text.Pandoc.Definition | |
Read MetaValue Source # | |
Defined in Text.Pandoc.Definition | |
Show MetaValue Source # | |
Generic MetaValue Source # | |
ToJSON MetaValue Source # | |
FromJSON MetaValue Source # | |
NFData MetaValue Source # | |
Defined in Text.Pandoc.Definition | |
ToMetaValue MetaValue Source # | |
Defined in Text.Pandoc.Builder Methods toMetaValue :: MetaValue -> MetaValue Source # | |
ToMetaValue MetaValue Source # | |
Defined in Text.Pandoc.Legacy.Builder Methods toMetaValue :: MetaValue -> MetaValue Source # | |
Walkable Inline MetaValue Source # | |
Walkable Block MetaValue Source # | |
Walkable [Inline] MetaValue Source # | |
Walkable [Block] MetaValue Source # | |
type Rep MetaValue Source # | |
Defined in Text.Pandoc.Definition type Rep MetaValue = D1 ('MetaData "MetaValue" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" 'False) ((C1 ('MetaCons "MetaMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text MetaValue))) :+: (C1 ('MetaCons "MetaList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [MetaValue])) :+: C1 ('MetaCons "MetaBool" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :+: (C1 ('MetaCons "MetaString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "MetaInlines" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "MetaBlocks" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block]))))) |
isNullMeta :: Meta -> Bool Source #
lookupMeta :: Text -> Meta -> Maybe MetaValue Source #
Retrieve the metadata value for a given key
.
docTitle :: Meta -> [Inline] Source #
Extract document title from metadata; works just like the old docTitle
.
docAuthors :: Meta -> [[Inline]] Source #
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 [Inline] [Alignment] [Double] [TableCell] [[TableCell]] | Table, with caption, column alignments (required), relative column widths (0 = default), column headers (each a list of blocks), and rows (each a list of lists of blocks) |
Div Attr [Block] | Generic block container with attributes |
Null | Nothing |
Instances
Eq Block Source # | |
Data Block Source # | |
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 | |
Ord Block Source # | |
Read Block Source # | |
Defined in Text.Pandoc.Definition | |
Show Block Source # | |
Generic Block Source # | |
Arbitrary Block Source # | |
Arbitrary Blocks Source # | |
ToJSON Block Source # | |
FromJSON Block Source # | |
NFData Block Source # | |
Defined in Text.Pandoc.Definition | |
ToMetaValue Blocks Source # | |
Defined in Text.Pandoc.Builder Methods toMetaValue :: Blocks -> MetaValue Source # | |
ToMetaValue Blocks Source # | |
Defined in Text.Pandoc.Legacy.Builder Methods toMetaValue :: Blocks -> MetaValue Source # | |
Walkable Inline Block Source # | |
Walkable Block Citation Source # | |
Walkable Block Inline Source # | |
Walkable Block Block Source # | |
Walkable Block MetaValue Source # | |
Walkable Block Meta Source # | |
Walkable Block Pandoc Source # | |
Semigroup (Many Block) | |
Monoid (Many Block) | |
Walkable [Inline] Block Source # | |
Walkable [Block] Citation Source # | |
Walkable [Block] Inline Source # | |
Walkable [Block] Block Source # | |
Walkable [Block] MetaValue Source # | |
Walkable [Block] Meta Source # | |
Walkable [Block] Pandoc Source # | |
Walkable [Block] [Block] Source # | |
type Rep Block Source # | |
Defined in Text.Pandoc.Definition type Rep Block = D1 ('MetaData "Block" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" 'False) (((C1 ('MetaCons "Plain" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "Para" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "LineBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Inline]])))) :+: ((C1 ('MetaCons "CodeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "RawBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: (C1 ('MetaCons "BlockQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ListAttributes) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Block]]))))) :+: ((C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Block]])) :+: (C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [([Inline], [[Block]])])) :+: C1 ('MetaCons "Header" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "HorizontalRule" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Alignment])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Double]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableCell]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[TableCell]]))))) :+: (C1 ('MetaCons "Div" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: C1 ('MetaCons "Null" 'PrefixI 'False) (U1 :: Type -> Type))))) |
Inline elements.
Constructors
Str Text | 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) |
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
Eq Inline Source # | |
Data Inline Source # | |
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 | |
Ord Inline Source # | |
Read Inline Source # | |
Defined in Text.Pandoc.Definition | |
Show Inline Source # | |
IsString Inlines | |
Defined in Text.Pandoc.Builder Methods fromString :: String -> Inlines | |
Generic Inline Source # | |
Semigroup Inlines | |
Monoid Inlines | |
Arbitrary Inline Source # | |
Arbitrary Inlines Source # | |
ToJSON Inline Source # | |
FromJSON Inline Source # | |
NFData Inline Source # | |
Defined in Text.Pandoc.Definition | |
ToMetaValue Inlines Source # | |
Defined in Text.Pandoc.Builder Methods toMetaValue :: Inlines -> MetaValue Source # | |
ToMetaValue Inlines Source # | |
Defined in Text.Pandoc.Legacy.Builder Methods toMetaValue :: Inlines -> MetaValue Source # | |
Walkable Inline Citation Source # | |
Walkable Inline Inline Source # | |
Walkable Inline Block Source # | |
Walkable Inline MetaValue Source # | |
Walkable Inline Meta Source # | |
Walkable Inline Pandoc Source # | |
Walkable Block Inline Source # | |
Walkable [Inline] Citation Source # | |
Walkable [Inline] Inline Source # | |
Walkable [Inline] Block Source # | |
Walkable [Inline] MetaValue Source # | |
Walkable [Inline] Meta Source # | |
Walkable [Inline] Pandoc Source # | |
Walkable [Block] Inline Source # | |
Walkable [Inline] [Inline] Source # | |
type Rep Inline Source # | |
Defined in Text.Pandoc.Definition type Rep Inline = D1 ('MetaData "Inline" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" 'False) ((((C1 ('MetaCons "Str" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Emph" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))) :+: (C1 ('MetaCons "Strong" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Strikeout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))) :+: ((C1 ('MetaCons "Superscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Subscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))) :+: (C1 ('MetaCons "SmallCaps" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "Quoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QuoteType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Cite" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Citation]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))))) :+: (((C1 ('MetaCons "Code" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (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 'DecidedLazy) (Rec0 MathType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) :+: ((C1 ('MetaCons "RawInline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Link" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target)))) :+: (C1 ('MetaCons "Image" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target))) :+: (C1 ('MetaCons "Note" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: C1 ('MetaCons "Span" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))))))) |
Alignment of a table column.
Constructors
AlignLeft | |
AlignRight | |
AlignCenter | |
AlignDefault |
Instances
Eq Alignment Source # | |
Data Alignment Source # | |
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 | |
Ord Alignment Source # | |
Defined in Text.Pandoc.Definition | |
Read Alignment Source # | |
Defined in Text.Pandoc.Definition | |
Show Alignment Source # | |
Generic Alignment Source # | |
Arbitrary Alignment Source # | |
ToJSON Alignment Source # | |
FromJSON Alignment Source # | |
NFData Alignment Source # | |
Defined in Text.Pandoc.Definition | |
type Rep Alignment Source # | |
Defined in Text.Pandoc.Definition type Rep Alignment = D1 ('MetaData "Alignment" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" '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))) |
type ListAttributes = (Int, ListNumberStyle, ListNumberDelim) Source #
List attributes. The first element of the triple is the start number of the list.
data ListNumberStyle Source #
Style of list numbers.
Constructors
DefaultStyle | |
Example | |
Decimal | |
LowerRoman | |
UpperRoman | |
LowerAlpha | |
UpperAlpha |
Instances
Eq ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition Methods (==) :: ListNumberStyle -> ListNumberStyle -> Bool (/=) :: ListNumberStyle -> ListNumberStyle -> Bool | |
Data ListNumberStyle Source # | |
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 | |
Ord ListNumberStyle Source # | |
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 | |
Read ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS ListNumberStyle readList :: ReadS [ListNumberStyle] readPrec :: ReadPrec ListNumberStyle readListPrec :: ReadPrec [ListNumberStyle] | |
Show ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> ListNumberStyle -> ShowS show :: ListNumberStyle -> String showList :: [ListNumberStyle] -> ShowS | |
Generic ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition Associated Types type Rep ListNumberStyle :: Type -> Type Methods from :: ListNumberStyle -> Rep ListNumberStyle x to :: Rep ListNumberStyle x -> ListNumberStyle | |
Arbitrary ListNumberStyle Source # | |
Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen ListNumberStyle Source # shrink :: ListNumberStyle -> [ListNumberStyle] Source # | |
ToJSON ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberStyle -> Value Source # toEncoding :: ListNumberStyle -> Encoding Source # toJSONList :: [ListNumberStyle] -> Value Source # toEncodingList :: [ListNumberStyle] -> Encoding Source # | |
FromJSON ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberStyle Source # parseJSONList :: Value -> Parser [ListNumberStyle] Source # | |
NFData ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition Methods rnf :: ListNumberStyle -> () | |
type Rep ListNumberStyle Source # | |
Defined in Text.Pandoc.Definition type Rep ListNumberStyle = D1 ('MetaData "ListNumberStyle" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" '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 Source #
Delimiter of list numbers.
Constructors
DefaultDelim | |
Period | |
OneParen | |
TwoParens |
Instances
Eq ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition Methods (==) :: ListNumberDelim -> ListNumberDelim -> Bool (/=) :: ListNumberDelim -> ListNumberDelim -> Bool | |
Data ListNumberDelim Source # | |
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 | |
Ord ListNumberDelim Source # | |
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 | |
Read ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS ListNumberDelim readList :: ReadS [ListNumberDelim] readPrec :: ReadPrec ListNumberDelim readListPrec :: ReadPrec [ListNumberDelim] | |
Show ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> ListNumberDelim -> ShowS show :: ListNumberDelim -> String showList :: [ListNumberDelim] -> ShowS | |
Generic ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition Associated Types type Rep ListNumberDelim :: Type -> Type Methods from :: ListNumberDelim -> Rep ListNumberDelim x to :: Rep ListNumberDelim x -> ListNumberDelim | |
Arbitrary ListNumberDelim Source # | |
Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen ListNumberDelim Source # shrink :: ListNumberDelim -> [ListNumberDelim] Source # | |
ToJSON ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberDelim -> Value Source # toEncoding :: ListNumberDelim -> Encoding Source # toJSONList :: [ListNumberDelim] -> Value Source # toEncodingList :: [ListNumberDelim] -> Encoding Source # | |
FromJSON ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberDelim Source # parseJSONList :: Value -> Parser [ListNumberDelim] Source # | |
NFData ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition Methods rnf :: ListNumberDelim -> () | |
type Rep ListNumberDelim Source # | |
Defined in Text.Pandoc.Definition type Rep ListNumberDelim = D1 ('MetaData "ListNumberDelim" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" '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
Eq Format Source # | |
Data Format Source # | |
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 | |
Ord Format Source # | |
Read Format Source # | |
Defined in Text.Pandoc.Definition | |
Show Format Source # | |
IsString Format Source # | |
Defined in Text.Pandoc.Definition Methods fromString :: String -> Format | |
Generic Format Source # | |
ToJSON Format Source # | |
FromJSON Format Source # | |
NFData Format Source # | |
Defined in Text.Pandoc.Definition | |
ToJSONFilter a => ToJSONFilter (Maybe Format -> a) Source # | |
Defined in Text.Pandoc.JSON Methods toJSONFilter :: (Maybe Format -> a) -> IO () Source # | |
type Rep Format Source # | |
Defined in Text.Pandoc.Definition type Rep Format = D1 ('MetaData "Format" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" 'True) (C1 ('MetaCons "Format" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
Type of quotation marks to use in Quoted inline.
Constructors
SingleQuote | |
DoubleQuote |
Instances
Eq QuoteType Source # | |
Data QuoteType Source # | |
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 | |
Ord QuoteType Source # | |
Defined in Text.Pandoc.Definition | |
Read QuoteType Source # | |
Defined in Text.Pandoc.Definition | |
Show QuoteType Source # | |
Generic QuoteType Source # | |
Arbitrary QuoteType Source # | |
ToJSON QuoteType Source # | |
FromJSON QuoteType Source # | |
NFData QuoteType Source # | |
Defined in Text.Pandoc.Definition | |
type Rep QuoteType Source # | |
Defined in Text.Pandoc.Definition type Rep QuoteType = D1 ('MetaData "QuoteType" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" '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
Eq MathType Source # | |
Data MathType Source # | |
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 | |
Ord MathType Source # | |
Defined in Text.Pandoc.Definition | |
Read MathType Source # | |
Defined in Text.Pandoc.Definition | |
Show MathType Source # | |
Generic MathType Source # | |
Arbitrary MathType Source # | |
ToJSON MathType Source # | |
FromJSON MathType Source # | |
NFData MathType Source # | |
Defined in Text.Pandoc.Definition | |
type Rep MathType Source # | |
Defined in Text.Pandoc.Definition type Rep MathType = D1 ('MetaData "MathType" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" 'False) (C1 ('MetaCons "DisplayMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineMath" 'PrefixI 'False) (U1 :: Type -> Type)) |
Constructors
Citation | |
Fields
|
Instances
Eq Citation Source # | |
Data Citation Source # | |
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 | |
Ord Citation Source # | |
Defined in Text.Pandoc.Definition | |
Read Citation Source # | |
Defined in Text.Pandoc.Definition | |
Show Citation Source # | |
Generic Citation Source # | |
Arbitrary Citation Source # | |
ToJSON Citation Source # | |
FromJSON Citation Source # | |
NFData Citation Source # | |
Defined in Text.Pandoc.Definition | |
Walkable Inline Citation Source # | |
Walkable Block Citation Source # | |
Walkable [Inline] Citation Source # | |
Walkable [Block] Citation Source # | |
type Rep Citation Source # | |
Defined in Text.Pandoc.Definition type Rep Citation = D1 ('MetaData "Citation" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" 'False) (C1 ('MetaCons "Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "citationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "citationPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Just "citationSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))) :*: (S1 ('MetaSel ('Just "citationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CitationMode) :*: (S1 ('MetaSel ('Just "citationNoteNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "citationHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) |
data CitationMode Source #
Constructors
AuthorInText | |
SuppressAuthor | |
NormalCitation |
Instances
Eq CitationMode Source # | |
Defined in Text.Pandoc.Definition | |
Data CitationMode Source # | |
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 | |
Ord CitationMode Source # | |
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 | |
Read CitationMode Source # | |
Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS CitationMode readList :: ReadS [CitationMode] readPrec :: ReadPrec CitationMode readListPrec :: ReadPrec [CitationMode] | |
Show CitationMode Source # | |
Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> CitationMode -> ShowS show :: CitationMode -> String showList :: [CitationMode] -> ShowS | |
Generic CitationMode Source # | |
Defined in Text.Pandoc.Definition Associated Types type Rep CitationMode :: Type -> Type | |
Arbitrary CitationMode Source # | |
Defined in Text.Pandoc.Arbitrary | |
ToJSON CitationMode Source # | |
Defined in Text.Pandoc.Definition Methods toJSON :: CitationMode -> Value Source # toEncoding :: CitationMode -> Encoding Source # toJSONList :: [CitationMode] -> Value Source # toEncodingList :: [CitationMode] -> Encoding Source # | |
FromJSON CitationMode Source # | |
Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser CitationMode Source # parseJSONList :: Value -> Parser [CitationMode] Source # | |
NFData CitationMode Source # | |
Defined in Text.Pandoc.Definition Methods rnf :: CitationMode -> () | |
type Rep CitationMode Source # | |
Defined in Text.Pandoc.Definition type Rep CitationMode = D1 ('MetaData "CitationMode" "Text.Pandoc.Definition" "pandoc-types-1.20-2itFJOqtLMU3EWSei5oMe" '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 Source #