pandoc-3.7.0.2: Conversion between markup formats

Copyright | Copyright (C) 2012-2024 John MacFarlane
License | GNU GPL, version 2 or above
Maintainer | John MacFarlane <jgm@berkeley.edu>
Stability | alpha
Portability | portable
Safe Haskell | None
Language | Haskell2010

Text.Pandoc.Options

Description

Data structures and functions for representing parser and writer options.

Synopsis

- module Text.Pandoc.Extensions
- data ReaderOptions = ReaderOptions {
  - readerExtensions :: Extensions
  - readerStandalone :: Bool
  - readerColumns :: Int
  - readerTabStop :: Int
  - readerIndentedCodeClasses :: [Text]
  - readerAbbreviations :: Set Text
  - readerDefaultImageExtension :: Text
  - readerTrackChanges :: TrackChanges
  - readerStripComments :: Bool
  }
- data HTMLMathMethod
  - = PlainMath
  - | WebTeX Text
  - | GladTeX
  - | MathML
  - | MathJax Text
  - | KaTeX Text
- data CiteMethod
  - = Citeproc
  - | Natbib
  - | Biblatex
- data ObfuscationMethod
  - = NoObfuscation
  - | ReferenceObfuscation
  - | JavascriptObfuscation
- data HTMLSlideVariant
  - = S5Slides
  - | SlidySlides
  - | SlideousSlides
  - | DZSlides
  - | RevealJsSlides
  - | NoSlides
- data EPUBVersion
  - = EPUB2
  - | EPUB3
- data WrapOption
  - = WrapAuto
  - | WrapNone
  - | WrapPreserve
- data TopLevelDivision
  - = TopLevelPart
  - | TopLevelChapter
  - | TopLevelSection
  - | TopLevelDefault
- data WriterOptions = WriterOptions {
  - writerTemplate :: Maybe (Template Text)
  - writerVariables :: Context Text
  - writerTabStop :: Int
  - writerTableOfContents :: Bool
  - writerListOfFigures :: Bool
  - writerListOfTables :: Bool
  - writerIncremental :: Bool
  - writerHTMLMathMethod :: HTMLMathMethod
  - writerNumberSections :: Bool
  - writerNumberOffset :: [Int]
  - writerSectionDivs :: Bool
  - writerExtensions :: Extensions
  - writerReferenceLinks :: Bool
  - writerDpi :: Int
  - writerWrapText :: WrapOption
  - writerColumns :: Int
  - writerEmailObfuscation :: ObfuscationMethod
  - writerIdentifierPrefix :: Text
  - writerCiteMethod :: CiteMethod
  - writerHtmlQTags :: Bool
  - writerSlideLevel :: Maybe Int
  - writerTopLevelDivision :: TopLevelDivision
  - writerListings :: Bool
  - writerHighlightStyle :: Maybe Style
  - writerSetextHeaders :: Bool
  - writerListTables :: Bool
  - writerEpubSubdirectory :: Text
  - writerEpubMetadata :: Maybe Text
  - writerEpubFonts :: [FilePath]
  - writerEpubTitlePage :: Bool
  - writerSplitLevel :: Int
  - writerChunkTemplate :: PathTemplate
  - writerTOCDepth :: Int
  - writerReferenceDoc :: Maybe FilePath
  - writerReferenceLocation :: ReferenceLocation
  - writerFigureCaptionPosition :: CaptionPosition
  - writerTableCaptionPosition :: CaptionPosition
  - writerSyntaxMap :: SyntaxMap
  - writerPreferAscii :: Bool
  - writerLinkImages :: Bool
  }
- data TrackChanges
  - = AcceptChanges
  - | RejectChanges
  - | AllChanges
- data ReferenceLocation
  - = EndOfBlock
  - | EndOfSection
  - | EndOfDocument
- data CaptionPosition
  - = CaptionAbove
  - | CaptionBelow
- def :: Default a => a
- isEnabled :: HasSyntaxExtensions a => Extension -> a -> Bool
- defaultMathJaxURL :: Text
- defaultKaTeXURL :: Text

# Documentation

module Text.Pandoc.Extensions

data ReaderOptions Source #

Constructors

ReaderOptions |

Fields

- readerExtensions :: Extensions

  Syntax extensions

- readerStandalone :: Bool

  Standalone document with header

- readerColumns :: Int

  Number of columns in terminal

- readerTabStop :: Int

  Tab stop

- readerIndentedCodeClasses :: [Text]

  Default classes for indented code blocks

- readerAbbreviations :: Set Text

  Strings to treat as abbreviations

- readerDefaultImageExtension :: Text

  Default extension for images

- readerTrackChanges :: TrackChanges

  Track changes setting for docx

- readerStripComments :: Bool

  Strip HTML comments instead of parsing as raw HTML (only implemented in commonmark)

#### Instances

Instances details

FromJSON ReaderOptions Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser ReaderOptions Source # parseJSONList :: Value -> Parser [ReaderOptions] Source # omittedField :: Maybe ReaderOptions Source #
ToJSON ReaderOptions Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: ReaderOptions -> Value Source # toEncoding :: ReaderOptions -> Encoding Source # toJSONList :: [ReaderOptions] -> Value Source # toEncodingList :: [ReaderOptions] -> Encoding Source # omitField :: ReaderOptions -> Bool Source #
Default ReaderOptions Source # |
Instance details Defined in Text.Pandoc.Options Methods def :: ReaderOptions Source #
Data ReaderOptions Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReaderOptions -> c ReaderOptions Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReaderOptions Source #

toConstr :: ReaderOptions -> Constr Source #

dataTypeOf :: ReaderOptions -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReaderOptions) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReaderOptions) Source #

gmapT :: (forall b. Data b => b -> b) -> ReaderOptions -> ReaderOptions Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReaderOptions -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReaderOptions -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ReaderOptions -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReaderOptions -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReaderOptions -> m ReaderOptions Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReaderOptions -> m ReaderOptions Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReaderOptions -> m ReaderOptions Source #

Generic ReaderOptions Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep ReaderOptions |

Instance details

Defined in Text.Pandoc.Options

type Rep ReaderOptions = D1 ('MetaData "ReaderOptions" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "ReaderOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "readerExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extensions) :*: S1 ('MetaSel ('Just "readerStandalone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "readerColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "readerTabStop") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "readerIndentedCodeClasses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "readerAbbreviations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Text))) :*: (S1 ('MetaSel ('Just "readerDefaultImageExtension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "readerTrackChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TrackChanges) :*: S1 ('MetaSel ('Just "readerStripComments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))

Methods

from :: ReaderOptions -> Rep ReaderOptions x Source #

to :: Rep ReaderOptions x -> ReaderOptions Source #

Read ReaderOptions Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS ReaderOptions Source # readList :: ReadS [ReaderOptions] Source # readPrec :: ReadPrec ReaderOptions Source # readListPrec :: ReadPrec [ReaderOptions] Source #
Show ReaderOptions Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> ReaderOptions -> ShowS Source # show :: ReaderOptions -> String Source # showList :: [ReaderOptions] -> ShowS Source #
type Rep ReaderOptions Source # |

Instance details

Defined in Text.Pandoc.Options

type Rep ReaderOptions = D1 ('MetaData "ReaderOptions" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "ReaderOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "readerExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extensions) :*: S1 ('MetaSel ('Just "readerStandalone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "readerColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "readerTabStop") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "readerIndentedCodeClasses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "readerAbbreviations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Text))) :*: (S1 ('MetaSel ('Just "readerDefaultImageExtension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "readerTrackChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TrackChanges) :*: S1 ('MetaSel ('Just "readerStripComments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))

data HTMLMathMethod Source #

Constructors

PlainMath |
WebTeX Text |
GladTeX |
MathML |
MathJax Text |
KaTeX Text |

#### Instances

Instances details

FromJSON HTMLMathMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser HTMLMathMethod Source # parseJSONList :: Value -> Parser [HTMLMathMethod] Source # omittedField :: Maybe HTMLMathMethod Source #
ToJSON HTMLMathMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: HTMLMathMethod -> Value Source # toEncoding :: HTMLMathMethod -> Encoding Source # toJSONList :: [HTMLMathMethod] -> Value Source # toEncodingList :: [HTMLMathMethod] -> Encoding Source # omitField :: HTMLMathMethod -> Bool Source #
Data HTMLMathMethod Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HTMLMathMethod -> c HTMLMathMethod Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HTMLMathMethod Source #

toConstr :: HTMLMathMethod -> Constr Source #

dataTypeOf :: HTMLMathMethod -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HTMLMathMethod) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HTMLMathMethod) Source #

gmapT :: (forall b. Data b => b -> b) -> HTMLMathMethod -> HTMLMathMethod Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HTMLMathMethod -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HTMLMathMethod -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> HTMLMathMethod -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HTMLMathMethod -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HTMLMathMethod -> m HTMLMathMethod Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLMathMethod -> m HTMLMathMethod Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLMathMethod -> m HTMLMathMethod Source #

Generic HTMLMathMethod Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep HTMLMathMethod |

Instance details

Defined in Text.Pandoc.Options

type Rep HTMLMathMethod = D1 ('MetaData "HTMLMathMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) ((C1 ('MetaCons "PlainMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebTeX" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "GladTeX" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "MathML" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MathJax" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "KaTeX" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))

Methods

from :: HTMLMathMethod -> Rep HTMLMathMethod x Source #

to :: Rep HTMLMathMethod x -> HTMLMathMethod Source #

Read HTMLMathMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS HTMLMathMethod Source # readList :: ReadS [HTMLMathMethod] Source # readPrec :: ReadPrec HTMLMathMethod Source # readListPrec :: ReadPrec [HTMLMathMethod] Source #
Show HTMLMathMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> HTMLMathMethod -> ShowS Source # show :: HTMLMathMethod -> String Source # showList :: [HTMLMathMethod] -> ShowS Source #
Eq HTMLMathMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: HTMLMathMethod -> HTMLMathMethod -> Bool Source # (/=) :: HTMLMathMethod -> HTMLMathMethod -> Bool Source #
type Rep HTMLMathMethod Source # |

Instance details

Defined in Text.Pandoc.Options

type Rep HTMLMathMethod = D1 ('MetaData "HTMLMathMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) ((C1 ('MetaCons "PlainMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WebTeX" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "GladTeX" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "MathML" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MathJax" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "KaTeX" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))

data CiteMethod Source #

Constructors

Citeproc |
Natbib |
Biblatex |

#### Instances

Instances details

FromJSON CiteMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser CiteMethod Source # parseJSONList :: Value -> Parser [CiteMethod] Source # omittedField :: Maybe CiteMethod Source #
ToJSON CiteMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: CiteMethod -> Value Source # toEncoding :: CiteMethod -> Encoding Source # toJSONList :: [CiteMethod] -> Value Source # toEncodingList :: [CiteMethod] -> Encoding Source # omitField :: CiteMethod -> Bool Source #
Data CiteMethod Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CiteMethod -> c CiteMethod Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CiteMethod Source #

toConstr :: CiteMethod -> Constr Source #

dataTypeOf :: CiteMethod -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CiteMethod) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CiteMethod) Source #

gmapT :: (forall b. Data b => b -> b) -> CiteMethod -> CiteMethod Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CiteMethod -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CiteMethod -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> CiteMethod -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CiteMethod -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CiteMethod -> m CiteMethod Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteMethod -> m CiteMethod Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteMethod -> m CiteMethod Source #

Generic CiteMethod Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep CiteMethod |
Instance details Defined in Text.Pandoc.Options type Rep CiteMethod = D1 ('MetaData "CiteMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "Citeproc" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Natbib" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Biblatex" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: CiteMethod -> Rep CiteMethod x Source #

to :: Rep CiteMethod x -> CiteMethod Source #

Read CiteMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS CiteMethod Source # readList :: ReadS [CiteMethod] Source # readPrec :: ReadPrec CiteMethod Source # readListPrec :: ReadPrec [CiteMethod] Source #
Show CiteMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> CiteMethod -> ShowS Source # show :: CiteMethod -> String Source # showList :: [CiteMethod] -> ShowS Source #
Eq CiteMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: CiteMethod -> CiteMethod -> Bool Source # (/=) :: CiteMethod -> CiteMethod -> Bool Source #
type Rep CiteMethod Source # |
Instance details Defined in Text.Pandoc.Options type Rep CiteMethod = D1 ('MetaData "CiteMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "Citeproc" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Natbib" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Biblatex" 'PrefixI 'False) (U1 :: Type -> Type)))

data ObfuscationMethod Source #

Methods for obfuscating email addresses in HTML.

Constructors

NoObfuscation |
ReferenceObfuscation |
JavascriptObfuscation |

#### Instances

Instances details

FromJSON ObfuscationMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser ObfuscationMethod Source # parseJSONList :: Value -> Parser [ObfuscationMethod] Source # omittedField :: Maybe ObfuscationMethod Source #
ToJSON ObfuscationMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: ObfuscationMethod -> Value Source # toEncoding :: ObfuscationMethod -> Encoding Source # toJSONList :: [ObfuscationMethod] -> Value Source # toEncodingList :: [ObfuscationMethod] -> Encoding Source # omitField :: ObfuscationMethod -> Bool Source #
Data ObfuscationMethod Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ObfuscationMethod -> c ObfuscationMethod Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ObfuscationMethod Source #

toConstr :: ObfuscationMethod -> Constr Source #

dataTypeOf :: ObfuscationMethod -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ObfuscationMethod) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ObfuscationMethod) Source #

gmapT :: (forall b. Data b => b -> b) -> ObfuscationMethod -> ObfuscationMethod Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ObfuscationMethod -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ObfuscationMethod -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ObfuscationMethod -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ObfuscationMethod -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ObfuscationMethod -> m ObfuscationMethod Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ObfuscationMethod -> m ObfuscationMethod Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ObfuscationMethod -> m ObfuscationMethod Source #

Generic ObfuscationMethod Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep ObfuscationMethod |

Instance details

Defined in Text.Pandoc.Options

type Rep ObfuscationMethod = D1 ('MetaData "ObfuscationMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "NoObfuscation" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReferenceObfuscation" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JavascriptObfuscation" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: ObfuscationMethod -> Rep ObfuscationMethod x Source #

to :: Rep ObfuscationMethod x -> ObfuscationMethod Source #

Read ObfuscationMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS ObfuscationMethod Source # readList :: ReadS [ObfuscationMethod] Source # readPrec :: ReadPrec ObfuscationMethod Source # readListPrec :: ReadPrec [ObfuscationMethod] Source #
Show ObfuscationMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> ObfuscationMethod -> ShowS Source # show :: ObfuscationMethod -> String Source # showList :: [ObfuscationMethod] -> ShowS Source #
Eq ObfuscationMethod Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: ObfuscationMethod -> ObfuscationMethod -> Bool Source # (/=) :: ObfuscationMethod -> ObfuscationMethod -> Bool Source #
type Rep ObfuscationMethod Source # |

Instance details

Defined in Text.Pandoc.Options

type Rep ObfuscationMethod = D1 ('MetaData "ObfuscationMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "NoObfuscation" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReferenceObfuscation" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JavascriptObfuscation" 'PrefixI 'False) (U1 :: Type -> Type)))

data HTMLSlideVariant Source #

Varieties of HTML slide shows.

Constructors

S5Slides |
SlidySlides |
SlideousSlides |
DZSlides |
RevealJsSlides |
NoSlides |

#### Instances

Instances details

FromJSON HTMLSlideVariant Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser HTMLSlideVariant Source # parseJSONList :: Value -> Parser [HTMLSlideVariant] Source # omittedField :: Maybe HTMLSlideVariant Source #
ToJSON HTMLSlideVariant Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: HTMLSlideVariant -> Value Source # toEncoding :: HTMLSlideVariant -> Encoding Source # toJSONList :: [HTMLSlideVariant] -> Value Source # toEncodingList :: [HTMLSlideVariant] -> Encoding Source # omitField :: HTMLSlideVariant -> Bool Source #
Data HTMLSlideVariant Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HTMLSlideVariant -> c HTMLSlideVariant Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HTMLSlideVariant Source #

toConstr :: HTMLSlideVariant -> Constr Source #

dataTypeOf :: HTMLSlideVariant -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HTMLSlideVariant) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HTMLSlideVariant) Source #

gmapT :: (forall b. Data b => b -> b) -> HTMLSlideVariant -> HTMLSlideVariant Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HTMLSlideVariant -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HTMLSlideVariant -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> HTMLSlideVariant -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HTMLSlideVariant -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HTMLSlideVariant -> m HTMLSlideVariant Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLSlideVariant -> m HTMLSlideVariant Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLSlideVariant -> m HTMLSlideVariant Source #

Generic HTMLSlideVariant Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep HTMLSlideVariant |

Instance details

Defined in Text.Pandoc.Options

type Rep HTMLSlideVariant = D1 ('MetaData "HTMLSlideVariant" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) ((C1 ('MetaCons "S5Slides" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SlidySlides" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SlideousSlides" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DZSlides" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RevealJsSlides" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NoSlides" 'PrefixI 'False) (U1 :: Type -> Type))))

Methods

from :: HTMLSlideVariant -> Rep HTMLSlideVariant x Source #

to :: Rep HTMLSlideVariant x -> HTMLSlideVariant Source #

Read HTMLSlideVariant Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS HTMLSlideVariant Source # readList :: ReadS [HTMLSlideVariant] Source # readPrec :: ReadPrec HTMLSlideVariant Source # readListPrec :: ReadPrec [HTMLSlideVariant] Source #
Show HTMLSlideVariant Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> HTMLSlideVariant -> ShowS Source # show :: HTMLSlideVariant -> String Source # showList :: [HTMLSlideVariant] -> ShowS Source #
Eq HTMLSlideVariant Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: HTMLSlideVariant -> HTMLSlideVariant -> Bool Source # (/=) :: HTMLSlideVariant -> HTMLSlideVariant -> Bool Source #
type Rep HTMLSlideVariant Source # |

Instance details

Defined in Text.Pandoc.Options

type Rep HTMLSlideVariant = D1 ('MetaData "HTMLSlideVariant" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) ((C1 ('MetaCons "S5Slides" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SlidySlides" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SlideousSlides" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DZSlides" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RevealJsSlides" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NoSlides" 'PrefixI 'False) (U1 :: Type -> Type))))

data EPUBVersion Source #

Constructors

EPUB2 |
EPUB3 |

#### Instances

Instances details

Data EPUBVersion Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EPUBVersion -> c EPUBVersion Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EPUBVersion Source #

toConstr :: EPUBVersion -> Constr Source #

dataTypeOf :: EPUBVersion -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EPUBVersion) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EPUBVersion) Source #

gmapT :: (forall b. Data b => b -> b) -> EPUBVersion -> EPUBVersion Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EPUBVersion -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EPUBVersion -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> EPUBVersion -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EPUBVersion -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EPUBVersion -> m EPUBVersion Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EPUBVersion -> m EPUBVersion Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EPUBVersion -> m EPUBVersion Source #

Generic EPUBVersion Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep EPUBVersion |
Instance details Defined in Text.Pandoc.Options type Rep EPUBVersion = D1 ('MetaData "EPUBVersion" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "EPUB2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EPUB3" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: EPUBVersion -> Rep EPUBVersion x Source #

to :: Rep EPUBVersion x -> EPUBVersion Source #

Read EPUBVersion Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS EPUBVersion Source # readList :: ReadS [EPUBVersion] Source # readPrec :: ReadPrec EPUBVersion Source # readListPrec :: ReadPrec [EPUBVersion] Source #
Show EPUBVersion Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> EPUBVersion -> ShowS Source # show :: EPUBVersion -> String Source # showList :: [EPUBVersion] -> ShowS Source #
Eq EPUBVersion Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: EPUBVersion -> EPUBVersion -> Bool Source # (/=) :: EPUBVersion -> EPUBVersion -> Bool Source #
type Rep EPUBVersion Source # |
Instance details Defined in Text.Pandoc.Options type Rep EPUBVersion = D1 ('MetaData "EPUBVersion" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "EPUB2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EPUB3" 'PrefixI 'False) (U1 :: Type -> Type))

data WrapOption Source #

Options for wrapping text in the output.

Constructors

WrapAuto | Automatically wrap to width
WrapNone | No non-semantic newlines
WrapPreserve | Preserve wrapping of input source

#### Instances

Instances details

FromJSON WrapOption Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser WrapOption Source # parseJSONList :: Value -> Parser [WrapOption] Source # omittedField :: Maybe WrapOption Source #
ToJSON WrapOption Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: WrapOption -> Value Source # toEncoding :: WrapOption -> Encoding Source # toJSONList :: [WrapOption] -> Value Source # toEncodingList :: [WrapOption] -> Encoding Source # omitField :: WrapOption -> Bool Source #
Data WrapOption Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WrapOption -> c WrapOption Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WrapOption Source #

toConstr :: WrapOption -> Constr Source #

dataTypeOf :: WrapOption -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WrapOption) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WrapOption) Source #

gmapT :: (forall b. Data b => b -> b) -> WrapOption -> WrapOption Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WrapOption -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WrapOption -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> WrapOption -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WrapOption -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WrapOption -> m WrapOption Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WrapOption -> m WrapOption Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WrapOption -> m WrapOption Source #

Generic WrapOption Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep WrapOption |
Instance details Defined in Text.Pandoc.Options type Rep WrapOption = D1 ('MetaData "WrapOption" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "WrapAuto" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WrapNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WrapPreserve" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: WrapOption -> Rep WrapOption x Source #

to :: Rep WrapOption x -> WrapOption Source #

Read WrapOption Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS WrapOption Source # readList :: ReadS [WrapOption] Source # readPrec :: ReadPrec WrapOption Source # readListPrec :: ReadPrec [WrapOption] Source #
Show WrapOption Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> WrapOption -> ShowS Source # show :: WrapOption -> String Source # showList :: [WrapOption] -> ShowS Source #
Eq WrapOption Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: WrapOption -> WrapOption -> Bool Source # (/=) :: WrapOption -> WrapOption -> Bool Source #
type Rep WrapOption Source # |
Instance details Defined in Text.Pandoc.Options type Rep WrapOption = D1 ('MetaData "WrapOption" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "WrapAuto" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WrapNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WrapPreserve" 'PrefixI 'False) (U1 :: Type -> Type)))

data TopLevelDivision Source #

Options defining the type of top-level headers.

Constructors

TopLevelPart | Top-level headers become parts
TopLevelChapter | Top-level headers become chapters
TopLevelSection | Top-level headers become sections
TopLevelDefault | Top-level type is determined via heuristics

#### Instances

Instances details

FromJSON TopLevelDivision Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser TopLevelDivision Source # parseJSONList :: Value -> Parser [TopLevelDivision] Source # omittedField :: Maybe TopLevelDivision Source #
ToJSON TopLevelDivision Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: TopLevelDivision -> Value Source # toEncoding :: TopLevelDivision -> Encoding Source # toJSONList :: [TopLevelDivision] -> Value Source # toEncodingList :: [TopLevelDivision] -> Encoding Source # omitField :: TopLevelDivision -> Bool Source #
Data TopLevelDivision Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TopLevelDivision -> c TopLevelDivision Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TopLevelDivision Source #

toConstr :: TopLevelDivision -> Constr Source #

dataTypeOf :: TopLevelDivision -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TopLevelDivision) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TopLevelDivision) Source #

gmapT :: (forall b. Data b => b -> b) -> TopLevelDivision -> TopLevelDivision Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TopLevelDivision -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TopLevelDivision -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> TopLevelDivision -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TopLevelDivision -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TopLevelDivision -> m TopLevelDivision Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TopLevelDivision -> m TopLevelDivision Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TopLevelDivision -> m TopLevelDivision Source #

Generic TopLevelDivision Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep TopLevelDivision |

Instance details

Defined in Text.Pandoc.Options

type Rep TopLevelDivision = D1 ('MetaData "TopLevelDivision" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) ((C1 ('MetaCons "TopLevelPart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TopLevelChapter" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TopLevelSection" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TopLevelDefault" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: TopLevelDivision -> Rep TopLevelDivision x Source #

to :: Rep TopLevelDivision x -> TopLevelDivision Source #

Read TopLevelDivision Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS TopLevelDivision Source # readList :: ReadS [TopLevelDivision] Source # readPrec :: ReadPrec TopLevelDivision Source # readListPrec :: ReadPrec [TopLevelDivision] Source #
Show TopLevelDivision Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> TopLevelDivision -> ShowS Source # show :: TopLevelDivision -> String Source # showList :: [TopLevelDivision] -> ShowS Source #
Eq TopLevelDivision Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: TopLevelDivision -> TopLevelDivision -> Bool Source # (/=) :: TopLevelDivision -> TopLevelDivision -> Bool Source #
type Rep TopLevelDivision Source # |

Instance details

Defined in Text.Pandoc.Options

type Rep TopLevelDivision = D1 ('MetaData "TopLevelDivision" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) ((C1 ('MetaCons "TopLevelPart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TopLevelChapter" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TopLevelSection" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TopLevelDefault" 'PrefixI 'False) (U1 :: Type -> Type)))

data WriterOptions Source #

Options for writers

Constructors

WriterOptions |

Fields

- writerTemplate :: Maybe (Template Text)

  Template to use

- writerVariables :: Context Text

  Variables to set in template

- writerTabStop :: Int

  Tabstop for conversion btw spaces and tabs

- writerTableOfContents :: Bool

  Include table of contents

- writerListOfFigures :: Bool

  Include list of figures

- writerListOfTables :: Bool

  Include list of tables

- writerIncremental :: Bool

  True if lists should be incremental

- writerHTMLMathMethod :: HTMLMathMethod

  How to print math in HTML

- writerNumberSections :: Bool

  Number sections in LaTeX

- writerNumberOffset :: [Int]

  Starting number for section, subsection, ...

- writerSectionDivs :: Bool

  Put sections in div tags in HTML

- writerExtensions :: Extensions

  Markdown extensions that can be used

- writerReferenceLinks :: Bool

  Use reference links in writing markdown, rst

- writerDpi :: Int

  Dpi for pixel to/from inch/cm conversions

- writerWrapText :: WrapOption

  Option for wrapping text

- writerColumns :: Int

  Characters in a line (for text wrapping)

- writerEmailObfuscation :: ObfuscationMethod

  How to obfuscate emails

- writerIdentifierPrefix :: Text

  Prefix for section & note ids in HTML and for footnote marks in markdown

- writerCiteMethod :: CiteMethod

  How to print cites

- writerHtmlQTags :: Bool

  Use `q` tags for quotes in HTML

- writerSlideLevel :: Maybe Int

  Force header level of slides

- writerTopLevelDivision :: TopLevelDivision

  Type of top-level divisions

- writerListings :: Bool

  Use listings package for code

- writerHighlightStyle :: Maybe Style

  Style to use for highlighting (Nothing = no highlighting)

- writerSetextHeaders :: Bool

  Use setext headers for levels 1-2 in markdown

- writerListTables :: Bool

  Use list tables for RST tables

- writerEpubSubdirectory :: Text

  Subdir for epub in OCF

- writerEpubMetadata :: Maybe Text

  Metadata to include in EPUB

- writerEpubFonts :: [FilePath]

  Paths to fonts to embed

- writerEpubTitlePage :: Bool

  Include title page in epub

- writerSplitLevel :: Int

  Header level at which to split EPUB or chunked HTML into separate files

- writerChunkTemplate :: PathTemplate

  Template for filenames in chunked HTML

- writerTOCDepth :: Int

  Number of levels to include in TOC

- writerReferenceDoc :: Maybe FilePath

  Path to reference document if specified

- writerReferenceLocation :: ReferenceLocation

  Location of footnotes and references for writing markdown

- writerFigureCaptionPosition :: CaptionPosition

  Position of figure caption

- writerTableCaptionPosition :: CaptionPosition

  Position of table caption

- writerSyntaxMap :: SyntaxMap
- writerPreferAscii :: Bool

  Prefer ASCII representations of characters when possible

- writerLinkImages :: Bool

  Use links rather than embedding ODT images

#### Instances

Instances details

Default WriterOptions Source # |
Instance details Defined in Text.Pandoc.Options Methods def :: WriterOptions Source #
Data WriterOptions Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WriterOptions -> c WriterOptions Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WriterOptions Source #

toConstr :: WriterOptions -> Constr Source #

dataTypeOf :: WriterOptions -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WriterOptions) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WriterOptions) Source #

gmapT :: (forall b. Data b => b -> b) -> WriterOptions -> WriterOptions Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WriterOptions -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WriterOptions -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> WriterOptions -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WriterOptions -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WriterOptions -> m WriterOptions Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WriterOptions -> m WriterOptions Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WriterOptions -> m WriterOptions Source #

Generic WriterOptions Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep WriterOptions |

Instance details

Defined in Text.Pandoc.Options

type Rep WriterOptions = D1 ('MetaData "WriterOptions" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "WriterOptions" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "writerTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Template Text))) :*: S1 ('MetaSel ('Just "writerVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Context Text))) :*: (S1 ('MetaSel ('Just "writerTabStop") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "writerTableOfContents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerListOfFigures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "writerListOfTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerIncremental") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "writerHTMLMathMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HTMLMathMethod) :*: (S1 ('MetaSel ('Just "writerNumberSections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerNumberOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]))))) :*: (((S1 ('MetaSel ('Just "writerSectionDivs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extensions)) :*: (S1 ('MetaSel ('Just "writerReferenceLinks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "writerDpi") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writerWrapText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WrapOption)))) :*: ((S1 ('MetaSel ('Just "writerColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writerEmailObfuscation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ObfuscationMethod)) :*: (S1 ('MetaSel ('Just "writerIdentifierPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "writerCiteMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CiteMethod) :*: S1 ('MetaSel ('Just "writerHtmlQTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))) :*: ((((S1 ('MetaSel ('Just "writerSlideLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "writerTopLevelDivision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelDivision)) :*: (S1 ('MetaSel ('Just "writerListings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "writerHighlightStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Style)) :*: S1 ('MetaSel ('Just "writerSetextHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "writerListTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerEpubSubdirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "writerEpubMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "writerEpubFonts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: S1 ('MetaSel ('Just "writerEpubTitlePage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just "writerSplitLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writerChunkTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PathTemplate)) :*: (S1 ('MetaSel ('Just "writerTOCDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "writerReferenceDoc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath)) :*: S1 ('MetaSel ('Just "writerReferenceLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ReferenceLocation)))) :*: ((S1 ('MetaSel ('Just "writerFigureCaptionPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CaptionPosition) :*: S1 ('MetaSel ('Just "writerTableCaptionPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CaptionPosition)) :*: (S1 ('MetaSel ('Just "writerSyntaxMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SyntaxMap) :*: (S1 ('MetaSel ('Just "writerPreferAscii") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerLinkImages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))))

Methods

from :: WriterOptions -> Rep WriterOptions x Source #

to :: Rep WriterOptions x -> WriterOptions Source #

Show WriterOptions Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> WriterOptions -> ShowS Source # show :: WriterOptions -> String Source # showList :: [WriterOptions] -> ShowS Source #
type Rep WriterOptions Source # |

Instance details

Defined in Text.Pandoc.Options

type Rep WriterOptions = D1 ('MetaData "WriterOptions" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "WriterOptions" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "writerTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Template Text))) :*: S1 ('MetaSel ('Just "writerVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Context Text))) :*: (S1 ('MetaSel ('Just "writerTabStop") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "writerTableOfContents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerListOfFigures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "writerListOfTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerIncremental") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "writerHTMLMathMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HTMLMathMethod) :*: (S1 ('MetaSel ('Just "writerNumberSections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerNumberOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]))))) :*: (((S1 ('MetaSel ('Just "writerSectionDivs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extensions)) :*: (S1 ('MetaSel ('Just "writerReferenceLinks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "writerDpi") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writerWrapText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WrapOption)))) :*: ((S1 ('MetaSel ('Just "writerColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writerEmailObfuscation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ObfuscationMethod)) :*: (S1 ('MetaSel ('Just "writerIdentifierPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "writerCiteMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CiteMethod) :*: S1 ('MetaSel ('Just "writerHtmlQTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))) :*: ((((S1 ('MetaSel ('Just "writerSlideLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "writerTopLevelDivision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelDivision)) :*: (S1 ('MetaSel ('Just "writerListings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "writerHighlightStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Style)) :*: S1 ('MetaSel ('Just "writerSetextHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "writerListTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerEpubSubdirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "writerEpubMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "writerEpubFonts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: S1 ('MetaSel ('Just "writerEpubTitlePage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just "writerSplitLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "writerChunkTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PathTemplate)) :*: (S1 ('MetaSel ('Just "writerTOCDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "writerReferenceDoc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath)) :*: S1 ('MetaSel ('Just "writerReferenceLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ReferenceLocation)))) :*: ((S1 ('MetaSel ('Just "writerFigureCaptionPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CaptionPosition) :*: S1 ('MetaSel ('Just "writerTableCaptionPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CaptionPosition)) :*: (S1 ('MetaSel ('Just "writerSyntaxMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SyntaxMap) :*: (S1 ('MetaSel ('Just "writerPreferAscii") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "writerLinkImages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))))

data TrackChanges Source #

Options for accepting or rejecting MS Word track-changes.

Constructors

AcceptChanges |
RejectChanges |
AllChanges |

#### Instances

Instances details

FromJSON TrackChanges Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser TrackChanges Source # parseJSONList :: Value -> Parser [TrackChanges] Source # omittedField :: Maybe TrackChanges Source #
ToJSON TrackChanges Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: TrackChanges -> Value Source # toEncoding :: TrackChanges -> Encoding Source # toJSONList :: [TrackChanges] -> Value Source # toEncodingList :: [TrackChanges] -> Encoding Source # omitField :: TrackChanges -> Bool Source #
Data TrackChanges Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TrackChanges -> c TrackChanges Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TrackChanges Source #

toConstr :: TrackChanges -> Constr Source #

dataTypeOf :: TrackChanges -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TrackChanges) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TrackChanges) Source #

gmapT :: (forall b. Data b => b -> b) -> TrackChanges -> TrackChanges Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TrackChanges -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TrackChanges -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> TrackChanges -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TrackChanges -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TrackChanges -> m TrackChanges Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TrackChanges -> m TrackChanges Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TrackChanges -> m TrackChanges Source #

Generic TrackChanges Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep TrackChanges |
Instance details Defined in Text.Pandoc.Options type Rep TrackChanges = D1 ('MetaData "TrackChanges" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "AcceptChanges" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RejectChanges" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AllChanges" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: TrackChanges -> Rep TrackChanges x Source #

to :: Rep TrackChanges x -> TrackChanges Source #

Read TrackChanges Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS TrackChanges Source # readList :: ReadS [TrackChanges] Source # readPrec :: ReadPrec TrackChanges Source # readListPrec :: ReadPrec [TrackChanges] Source #
Show TrackChanges Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> TrackChanges -> ShowS Source # show :: TrackChanges -> String Source # showList :: [TrackChanges] -> ShowS Source #
Eq TrackChanges Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: TrackChanges -> TrackChanges -> Bool Source # (/=) :: TrackChanges -> TrackChanges -> Bool Source #
type Rep TrackChanges Source # |
Instance details Defined in Text.Pandoc.Options type Rep TrackChanges = D1 ('MetaData "TrackChanges" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "AcceptChanges" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RejectChanges" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AllChanges" 'PrefixI 'False) (U1 :: Type -> Type)))

data ReferenceLocation Source #

Locations for footnotes and references in markdown output

Constructors

EndOfBlock | End of block
EndOfSection | prior to next section header (or end of document)
EndOfDocument | at end of document

#### Instances

Instances details

FromJSON ReferenceLocation Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser ReferenceLocation Source # parseJSONList :: Value -> Parser [ReferenceLocation] Source # omittedField :: Maybe ReferenceLocation Source #
ToJSON ReferenceLocation Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: ReferenceLocation -> Value Source # toEncoding :: ReferenceLocation -> Encoding Source # toJSONList :: [ReferenceLocation] -> Value Source # toEncodingList :: [ReferenceLocation] -> Encoding Source # omitField :: ReferenceLocation -> Bool Source #
Data ReferenceLocation Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReferenceLocation -> c ReferenceLocation Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReferenceLocation Source #

toConstr :: ReferenceLocation -> Constr Source #

dataTypeOf :: ReferenceLocation -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReferenceLocation) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReferenceLocation) Source #

gmapT :: (forall b. Data b => b -> b) -> ReferenceLocation -> ReferenceLocation Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReferenceLocation -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReferenceLocation -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> ReferenceLocation -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReferenceLocation -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReferenceLocation -> m ReferenceLocation Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReferenceLocation -> m ReferenceLocation Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReferenceLocation -> m ReferenceLocation Source #

Generic ReferenceLocation Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep ReferenceLocation |
Instance details Defined in Text.Pandoc.Options type Rep ReferenceLocation = D1 ('MetaData "ReferenceLocation" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "EndOfBlock" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EndOfSection" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EndOfDocument" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: ReferenceLocation -> Rep ReferenceLocation x Source #

to :: Rep ReferenceLocation x -> ReferenceLocation Source #

Read ReferenceLocation Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS ReferenceLocation Source # readList :: ReadS [ReferenceLocation] Source # readPrec :: ReadPrec ReferenceLocation Source # readListPrec :: ReadPrec [ReferenceLocation] Source #
Show ReferenceLocation Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> ReferenceLocation -> ShowS Source # show :: ReferenceLocation -> String Source # showList :: [ReferenceLocation] -> ShowS Source #
Eq ReferenceLocation Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: ReferenceLocation -> ReferenceLocation -> Bool Source # (/=) :: ReferenceLocation -> ReferenceLocation -> Bool Source #
type Rep ReferenceLocation Source # |
Instance details Defined in Text.Pandoc.Options type Rep ReferenceLocation = D1 ('MetaData "ReferenceLocation" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "EndOfBlock" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EndOfSection" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EndOfDocument" 'PrefixI 'False) (U1 :: Type -> Type)))

data CaptionPosition Source #

Positions for figure and table captions

Constructors

CaptionAbove | above figure or table
CaptionBelow | below figure or table

#### Instances

Instances details

FromJSON CaptionPosition Source # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser CaptionPosition Source # parseJSONList :: Value -> Parser [CaptionPosition] Source # omittedField :: Maybe CaptionPosition Source #
ToJSON CaptionPosition Source # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: CaptionPosition -> Value Source # toEncoding :: CaptionPosition -> Encoding Source # toJSONList :: [CaptionPosition] -> Value Source # toEncodingList :: [CaptionPosition] -> Encoding Source # omitField :: CaptionPosition -> Bool Source #
Data CaptionPosition Source # |

Instance details

Defined in Text.Pandoc.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CaptionPosition -> c CaptionPosition Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CaptionPosition Source #

toConstr :: CaptionPosition -> Constr Source #

dataTypeOf :: CaptionPosition -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CaptionPosition) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CaptionPosition) Source #

gmapT :: (forall b. Data b => b -> b) -> CaptionPosition -> CaptionPosition Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CaptionPosition -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CaptionPosition -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> CaptionPosition -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CaptionPosition -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CaptionPosition -> m CaptionPosition Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CaptionPosition -> m CaptionPosition Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CaptionPosition -> m CaptionPosition Source #

Generic CaptionPosition Source # |

Instance details

Defined in Text.Pandoc.Options

Associated Types

type Rep CaptionPosition |
Instance details Defined in Text.Pandoc.Options type Rep CaptionPosition = D1 ('MetaData "CaptionPosition" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "CaptionAbove" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaptionBelow" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: CaptionPosition -> Rep CaptionPosition x Source #

to :: Rep CaptionPosition x -> CaptionPosition Source #

Read CaptionPosition Source # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS CaptionPosition Source # readList :: ReadS [CaptionPosition] Source # readPrec :: ReadPrec CaptionPosition Source # readListPrec :: ReadPrec [CaptionPosition] Source #
Show CaptionPosition Source # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> CaptionPosition -> ShowS Source # show :: CaptionPosition -> String Source # showList :: [CaptionPosition] -> ShowS Source #
Eq CaptionPosition Source # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: CaptionPosition -> CaptionPosition -> Bool Source # (/=) :: CaptionPosition -> CaptionPosition -> Bool Source #
type Rep CaptionPosition Source # |
Instance details Defined in Text.Pandoc.Options type Rep CaptionPosition = D1 ('MetaData "CaptionPosition" "Text.Pandoc.Options" "pandoc-3.7.0.2-3HpF373gaiUFWYH8xWETrB" 'False) (C1 ('MetaCons "CaptionAbove" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaptionBelow" 'PrefixI 'False) (U1 :: Type -> Type))

def :: Default a => a Source #

The default value for this type.

isEnabled :: HasSyntaxExtensions a => Extension -> a -> Bool Source #

Returns True if the given extension is enabled.

defaultMathJaxURL :: Text Source #

defaultKaTeXURL :: Text Source #