Text.Pandoc.Options

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 #

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 # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser ReaderOptions # parseJSONList :: Value -> Parser [ReaderOptions] # omittedField :: Maybe ReaderOptions #
ToJSON ReaderOptions # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: ReaderOptions -> Value # toEncoding :: ReaderOptions -> Encoding # toJSONList :: [ReaderOptions] -> Value # toEncodingList :: [ReaderOptions] -> Encoding # omitField :: ReaderOptions -> Bool #
Default ReaderOptions # |
Instance details Defined in Text.Pandoc.Options Methods def :: ReaderOptions #
Data ReaderOptions # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReaderOptions # toConstr :: ReaderOptions -> Constr # dataTypeOf :: ReaderOptions -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReaderOptions) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReaderOptions) # gmapT :: (forall b. Data b => b -> b) -> ReaderOptions -> ReaderOptions # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReaderOptions -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReaderOptions -> r # gmapQ :: (forall d. Data d => d -> u) -> ReaderOptions -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReaderOptions -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReaderOptions -> m ReaderOptions # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReaderOptions -> m ReaderOptions # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReaderOptions -> m ReaderOptions #
Generic ReaderOptions # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep ReaderOptions x -> ReaderOptions #
Read ReaderOptions # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS ReaderOptions # readList :: ReadS [ReaderOptions] # readPrec :: ReadPrec ReaderOptions # readListPrec :: ReadPrec [ReaderOptions] #
Show ReaderOptions # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> ReaderOptions -> ShowS # show :: ReaderOptions -> String # showList :: [ReaderOptions] -> ShowS #
type Rep ReaderOptions # |
Instance details Defined in Text.Pandoc.Options type Rep ReaderOptions = D1 ('MetaData "ReaderOptions" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

Constructors

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

#### Instances

Instances details

FromJSON HTMLMathMethod # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser HTMLMathMethod # parseJSONList :: Value -> Parser [HTMLMathMethod] # omittedField :: Maybe HTMLMathMethod #
ToJSON HTMLMathMethod # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: HTMLMathMethod -> Value # toEncoding :: HTMLMathMethod -> Encoding # toJSONList :: [HTMLMathMethod] -> Value # toEncodingList :: [HTMLMathMethod] -> Encoding # omitField :: HTMLMathMethod -> Bool #
Data HTMLMathMethod # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HTMLMathMethod # toConstr :: HTMLMathMethod -> Constr # dataTypeOf :: HTMLMathMethod -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HTMLMathMethod) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HTMLMathMethod) # gmapT :: (forall b. Data b => b -> b) -> HTMLMathMethod -> HTMLMathMethod # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HTMLMathMethod -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HTMLMathMethod -> r # gmapQ :: (forall d. Data d => d -> u) -> HTMLMathMethod -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> HTMLMathMethod -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> HTMLMathMethod -> m HTMLMathMethod # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLMathMethod -> m HTMLMathMethod # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLMathMethod -> m HTMLMathMethod #
Generic HTMLMathMethod # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep HTMLMathMethod x -> HTMLMathMethod #
Read HTMLMathMethod # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS HTMLMathMethod # readList :: ReadS [HTMLMathMethod] # readPrec :: ReadPrec HTMLMathMethod # readListPrec :: ReadPrec [HTMLMathMethod] #
Show HTMLMathMethod # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> HTMLMathMethod -> ShowS # show :: HTMLMathMethod -> String # showList :: [HTMLMathMethod] -> ShowS #
Eq HTMLMathMethod # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: HTMLMathMethod -> HTMLMathMethod -> Bool # (/=) :: HTMLMathMethod -> HTMLMathMethod -> Bool #
type Rep HTMLMathMethod # |
Instance details Defined in Text.Pandoc.Options type Rep HTMLMathMethod = D1 ('MetaData "HTMLMathMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

Constructors

Citeproc |
Natbib |
Biblatex |

#### Instances

Instances details

FromJSON CiteMethod # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser CiteMethod # parseJSONList :: Value -> Parser [CiteMethod] # omittedField :: Maybe CiteMethod #
ToJSON CiteMethod # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: CiteMethod -> Value # toEncoding :: CiteMethod -> Encoding # toJSONList :: [CiteMethod] -> Value # toEncodingList :: [CiteMethod] -> Encoding # omitField :: CiteMethod -> Bool #
Data CiteMethod # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CiteMethod # toConstr :: CiteMethod -> Constr # dataTypeOf :: CiteMethod -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CiteMethod) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CiteMethod) # gmapT :: (forall b. Data b => b -> b) -> CiteMethod -> CiteMethod # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CiteMethod -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CiteMethod -> r # gmapQ :: (forall d. Data d => d -> u) -> CiteMethod -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CiteMethod -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CiteMethod -> m CiteMethod # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteMethod -> m CiteMethod # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CiteMethod -> m CiteMethod #
Generic CiteMethod # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep CiteMethod x -> CiteMethod #
Read CiteMethod # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS CiteMethod # readList :: ReadS [CiteMethod] # readPrec :: ReadPrec CiteMethod # readListPrec :: ReadPrec [CiteMethod] #
Show CiteMethod # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> CiteMethod -> ShowS # show :: CiteMethod -> String # showList :: [CiteMethod] -> ShowS #
Eq CiteMethod # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: CiteMethod -> CiteMethod -> Bool # (/=) :: CiteMethod -> CiteMethod -> Bool #
type Rep CiteMethod # |
Instance details Defined in Text.Pandoc.Options type Rep CiteMethod = D1 ('MetaData "CiteMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

Methods for obfuscating email addresses in HTML.

Constructors

NoObfuscation |
ReferenceObfuscation |
JavascriptObfuscation |

#### Instances

Instances details

FromJSON ObfuscationMethod # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser ObfuscationMethod # parseJSONList :: Value -> Parser [ObfuscationMethod] # omittedField :: Maybe ObfuscationMethod #
ToJSON ObfuscationMethod # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: ObfuscationMethod -> Value # toEncoding :: ObfuscationMethod -> Encoding # toJSONList :: [ObfuscationMethod] -> Value # toEncodingList :: [ObfuscationMethod] -> Encoding # omitField :: ObfuscationMethod -> Bool #
Data ObfuscationMethod # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ObfuscationMethod # toConstr :: ObfuscationMethod -> Constr # dataTypeOf :: ObfuscationMethod -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ObfuscationMethod) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ObfuscationMethod) # gmapT :: (forall b. Data b => b -> b) -> ObfuscationMethod -> ObfuscationMethod # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ObfuscationMethod -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ObfuscationMethod -> r # gmapQ :: (forall d. Data d => d -> u) -> ObfuscationMethod -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ObfuscationMethod -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ObfuscationMethod -> m ObfuscationMethod # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ObfuscationMethod -> m ObfuscationMethod # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ObfuscationMethod -> m ObfuscationMethod #
Generic ObfuscationMethod # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep ObfuscationMethod x -> ObfuscationMethod #
Read ObfuscationMethod # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS ObfuscationMethod # readList :: ReadS [ObfuscationMethod] # readPrec :: ReadPrec ObfuscationMethod # readListPrec :: ReadPrec [ObfuscationMethod] #
Show ObfuscationMethod # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> ObfuscationMethod -> ShowS # show :: ObfuscationMethod -> String # showList :: [ObfuscationMethod] -> ShowS #
Eq ObfuscationMethod # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: ObfuscationMethod -> ObfuscationMethod -> Bool # (/=) :: ObfuscationMethod -> ObfuscationMethod -> Bool #
type Rep ObfuscationMethod # |
Instance details Defined in Text.Pandoc.Options type Rep ObfuscationMethod = D1 ('MetaData "ObfuscationMethod" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

Varieties of HTML slide shows.

Constructors

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

#### Instances

Instances details

FromJSON HTMLSlideVariant # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser HTMLSlideVariant # parseJSONList :: Value -> Parser [HTMLSlideVariant] # omittedField :: Maybe HTMLSlideVariant #
ToJSON HTMLSlideVariant # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: HTMLSlideVariant -> Value # toEncoding :: HTMLSlideVariant -> Encoding # toJSONList :: [HTMLSlideVariant] -> Value # toEncodingList :: [HTMLSlideVariant] -> Encoding # omitField :: HTMLSlideVariant -> Bool #
Data HTMLSlideVariant # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HTMLSlideVariant # toConstr :: HTMLSlideVariant -> Constr # dataTypeOf :: HTMLSlideVariant -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HTMLSlideVariant) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HTMLSlideVariant) # gmapT :: (forall b. Data b => b -> b) -> HTMLSlideVariant -> HTMLSlideVariant # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HTMLSlideVariant -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HTMLSlideVariant -> r # gmapQ :: (forall d. Data d => d -> u) -> HTMLSlideVariant -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> HTMLSlideVariant -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> HTMLSlideVariant -> m HTMLSlideVariant # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLSlideVariant -> m HTMLSlideVariant # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HTMLSlideVariant -> m HTMLSlideVariant #
Generic HTMLSlideVariant # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep HTMLSlideVariant x -> HTMLSlideVariant #
Read HTMLSlideVariant # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS HTMLSlideVariant # readList :: ReadS [HTMLSlideVariant] # readPrec :: ReadPrec HTMLSlideVariant # readListPrec :: ReadPrec [HTMLSlideVariant] #
Show HTMLSlideVariant # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> HTMLSlideVariant -> ShowS # show :: HTMLSlideVariant -> String # showList :: [HTMLSlideVariant] -> ShowS #
Eq HTMLSlideVariant # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: HTMLSlideVariant -> HTMLSlideVariant -> Bool # (/=) :: HTMLSlideVariant -> HTMLSlideVariant -> Bool #
type Rep HTMLSlideVariant # |
Instance details Defined in Text.Pandoc.Options type Rep HTMLSlideVariant = D1 ('MetaData "HTMLSlideVariant" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

Constructors

EPUB2 |
EPUB3 |

#### Instances

Instances details

Data EPUBVersion # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EPUBVersion # toConstr :: EPUBVersion -> Constr # dataTypeOf :: EPUBVersion -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EPUBVersion) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EPUBVersion) # gmapT :: (forall b. Data b => b -> b) -> EPUBVersion -> EPUBVersion # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EPUBVersion -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EPUBVersion -> r # gmapQ :: (forall d. Data d => d -> u) -> EPUBVersion -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> EPUBVersion -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> EPUBVersion -> m EPUBVersion # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EPUBVersion -> m EPUBVersion # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EPUBVersion -> m EPUBVersion #
Generic EPUBVersion # |
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-LV2qWKW0Q2RElzdkrvf5Ll" 'False) (C1 ('MetaCons "EPUB2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EPUB3" 'PrefixI 'False) (U1 :: Type -> Type))
Methods from :: EPUBVersion -> Rep EPUBVersion x # to :: Rep EPUBVersion x -> EPUBVersion #
Read EPUBVersion # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS EPUBVersion # readList :: ReadS [EPUBVersion] # readPrec :: ReadPrec EPUBVersion # readListPrec :: ReadPrec [EPUBVersion] #
Show EPUBVersion # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> EPUBVersion -> ShowS # show :: EPUBVersion -> String # showList :: [EPUBVersion] -> ShowS #
Eq EPUBVersion # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: EPUBVersion -> EPUBVersion -> Bool # (/=) :: EPUBVersion -> EPUBVersion -> Bool #
type Rep EPUBVersion # |
Instance details Defined in Text.Pandoc.Options type Rep EPUBVersion = D1 ('MetaData "EPUBVersion" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" 'False) (C1 ('MetaCons "EPUB2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EPUB3" 'PrefixI 'False) (U1 :: Type -> Type))

data WrapOption #

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 # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser WrapOption # parseJSONList :: Value -> Parser [WrapOption] # omittedField :: Maybe WrapOption #
ToJSON WrapOption # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: WrapOption -> Value # toEncoding :: WrapOption -> Encoding # toJSONList :: [WrapOption] -> Value # toEncodingList :: [WrapOption] -> Encoding # omitField :: WrapOption -> Bool #
Data WrapOption # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WrapOption # toConstr :: WrapOption -> Constr # dataTypeOf :: WrapOption -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WrapOption) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WrapOption) # gmapT :: (forall b. Data b => b -> b) -> WrapOption -> WrapOption # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WrapOption -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WrapOption -> r # gmapQ :: (forall d. Data d => d -> u) -> WrapOption -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> WrapOption -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> WrapOption -> m WrapOption # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WrapOption -> m WrapOption # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WrapOption -> m WrapOption #
Generic WrapOption # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep WrapOption x -> WrapOption #
Read WrapOption # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS WrapOption # readList :: ReadS [WrapOption] # readPrec :: ReadPrec WrapOption # readListPrec :: ReadPrec [WrapOption] #
Show WrapOption # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> WrapOption -> ShowS # show :: WrapOption -> String # showList :: [WrapOption] -> ShowS #
Eq WrapOption # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: WrapOption -> WrapOption -> Bool # (/=) :: WrapOption -> WrapOption -> Bool #
type Rep WrapOption # |
Instance details Defined in Text.Pandoc.Options type Rep WrapOption = D1 ('MetaData "WrapOption" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

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 # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser TopLevelDivision # parseJSONList :: Value -> Parser [TopLevelDivision] # omittedField :: Maybe TopLevelDivision #
ToJSON TopLevelDivision # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: TopLevelDivision -> Value # toEncoding :: TopLevelDivision -> Encoding # toJSONList :: [TopLevelDivision] -> Value # toEncodingList :: [TopLevelDivision] -> Encoding # omitField :: TopLevelDivision -> Bool #
Data TopLevelDivision # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TopLevelDivision # toConstr :: TopLevelDivision -> Constr # dataTypeOf :: TopLevelDivision -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TopLevelDivision) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TopLevelDivision) # gmapT :: (forall b. Data b => b -> b) -> TopLevelDivision -> TopLevelDivision # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TopLevelDivision -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TopLevelDivision -> r # gmapQ :: (forall d. Data d => d -> u) -> TopLevelDivision -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TopLevelDivision -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TopLevelDivision -> m TopLevelDivision # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TopLevelDivision -> m TopLevelDivision # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TopLevelDivision -> m TopLevelDivision #
Generic TopLevelDivision # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep TopLevelDivision x -> TopLevelDivision #
Read TopLevelDivision # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS TopLevelDivision # readList :: ReadS [TopLevelDivision] # readPrec :: ReadPrec TopLevelDivision # readListPrec :: ReadPrec [TopLevelDivision] #
Show TopLevelDivision # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> TopLevelDivision -> ShowS # show :: TopLevelDivision -> String # showList :: [TopLevelDivision] -> ShowS #
Eq TopLevelDivision # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: TopLevelDivision -> TopLevelDivision -> Bool # (/=) :: TopLevelDivision -> TopLevelDivision -> Bool #
type Rep TopLevelDivision # |
Instance details Defined in Text.Pandoc.Options type Rep TopLevelDivision = D1 ('MetaData "TopLevelDivision" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

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 # |
Instance details Defined in Text.Pandoc.Options Methods def :: WriterOptions #
Data WriterOptions # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WriterOptions # toConstr :: WriterOptions -> Constr # dataTypeOf :: WriterOptions -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WriterOptions) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WriterOptions) # gmapT :: (forall b. Data b => b -> b) -> WriterOptions -> WriterOptions # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WriterOptions -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WriterOptions -> r # gmapQ :: (forall d. Data d => d -> u) -> WriterOptions -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> WriterOptions -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> WriterOptions -> m WriterOptions # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WriterOptions -> m WriterOptions # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WriterOptions -> m WriterOptions #
Generic WriterOptions # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep WriterOptions x -> WriterOptions #
Show WriterOptions # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> WriterOptions -> ShowS # show :: WriterOptions -> String # showList :: [WriterOptions] -> ShowS #
type Rep WriterOptions # |
Instance details Defined in Text.Pandoc.Options type Rep WriterOptions = D1 ('MetaData "WriterOptions" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

Options for accepting or rejecting MS Word track-changes.

Constructors

AcceptChanges |
RejectChanges |
AllChanges |

#### Instances

Instances details

FromJSON TrackChanges # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser TrackChanges # parseJSONList :: Value -> Parser [TrackChanges] # omittedField :: Maybe TrackChanges #
ToJSON TrackChanges # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: TrackChanges -> Value # toEncoding :: TrackChanges -> Encoding # toJSONList :: [TrackChanges] -> Value # toEncodingList :: [TrackChanges] -> Encoding # omitField :: TrackChanges -> Bool #
Data TrackChanges # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TrackChanges # toConstr :: TrackChanges -> Constr # dataTypeOf :: TrackChanges -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TrackChanges) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TrackChanges) # gmapT :: (forall b. Data b => b -> b) -> TrackChanges -> TrackChanges # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TrackChanges -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TrackChanges -> r # gmapQ :: (forall d. Data d => d -> u) -> TrackChanges -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TrackChanges -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TrackChanges -> m TrackChanges # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TrackChanges -> m TrackChanges # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TrackChanges -> m TrackChanges #
Generic TrackChanges # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep TrackChanges x -> TrackChanges #
Read TrackChanges # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS TrackChanges # readList :: ReadS [TrackChanges] # readPrec :: ReadPrec TrackChanges # readListPrec :: ReadPrec [TrackChanges] #
Show TrackChanges # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> TrackChanges -> ShowS # show :: TrackChanges -> String # showList :: [TrackChanges] -> ShowS #
Eq TrackChanges # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: TrackChanges -> TrackChanges -> Bool # (/=) :: TrackChanges -> TrackChanges -> Bool #
type Rep TrackChanges # |
Instance details Defined in Text.Pandoc.Options type Rep TrackChanges = D1 ('MetaData "TrackChanges" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

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 # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser ReferenceLocation # parseJSONList :: Value -> Parser [ReferenceLocation] # omittedField :: Maybe ReferenceLocation #
ToJSON ReferenceLocation # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: ReferenceLocation -> Value # toEncoding :: ReferenceLocation -> Encoding # toJSONList :: [ReferenceLocation] -> Value # toEncodingList :: [ReferenceLocation] -> Encoding # omitField :: ReferenceLocation -> Bool #
Data ReferenceLocation # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReferenceLocation # toConstr :: ReferenceLocation -> Constr # dataTypeOf :: ReferenceLocation -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReferenceLocation) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReferenceLocation) # gmapT :: (forall b. Data b => b -> b) -> ReferenceLocation -> ReferenceLocation # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReferenceLocation -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReferenceLocation -> r # gmapQ :: (forall d. Data d => d -> u) -> ReferenceLocation -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReferenceLocation -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReferenceLocation -> m ReferenceLocation # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReferenceLocation -> m ReferenceLocation # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReferenceLocation -> m ReferenceLocation #
Generic ReferenceLocation # |
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-LV2qWKW0Q2RElzdkrvf5Ll" '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 # to :: Rep ReferenceLocation x -> ReferenceLocation #
Read ReferenceLocation # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS ReferenceLocation # readList :: ReadS [ReferenceLocation] # readPrec :: ReadPrec ReferenceLocation # readListPrec :: ReadPrec [ReferenceLocation] #
Show ReferenceLocation # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> ReferenceLocation -> ShowS # show :: ReferenceLocation -> String # showList :: [ReferenceLocation] -> ShowS #
Eq ReferenceLocation # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: ReferenceLocation -> ReferenceLocation -> Bool # (/=) :: ReferenceLocation -> ReferenceLocation -> Bool #
type Rep ReferenceLocation # |
Instance details Defined in Text.Pandoc.Options type Rep ReferenceLocation = D1 ('MetaData "ReferenceLocation" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" '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 #

Positions for figure and table captions

Constructors

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

#### Instances

Instances details

FromJSON CaptionPosition # |
Instance details Defined in Text.Pandoc.Options Methods parseJSON :: Value -> Parser CaptionPosition # parseJSONList :: Value -> Parser [CaptionPosition] # omittedField :: Maybe CaptionPosition #
ToJSON CaptionPosition # |
Instance details Defined in Text.Pandoc.Options Methods toJSON :: CaptionPosition -> Value # toEncoding :: CaptionPosition -> Encoding # toJSONList :: [CaptionPosition] -> Value # toEncodingList :: [CaptionPosition] -> Encoding # omitField :: CaptionPosition -> Bool #
Data CaptionPosition # |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CaptionPosition # toConstr :: CaptionPosition -> Constr # dataTypeOf :: CaptionPosition -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CaptionPosition) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CaptionPosition) # gmapT :: (forall b. Data b => b -> b) -> CaptionPosition -> CaptionPosition # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CaptionPosition -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CaptionPosition -> r # gmapQ :: (forall d. Data d => d -> u) -> CaptionPosition -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CaptionPosition -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CaptionPosition -> m CaptionPosition # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CaptionPosition -> m CaptionPosition # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CaptionPosition -> m CaptionPosition #
Generic CaptionPosition # |
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-LV2qWKW0Q2RElzdkrvf5Ll" 'False) (C1 ('MetaCons "CaptionAbove" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaptionBelow" 'PrefixI 'False) (U1 :: Type -> Type))
Methods from :: CaptionPosition -> Rep CaptionPosition x # to :: Rep CaptionPosition x -> CaptionPosition #
Read CaptionPosition # |
Instance details Defined in Text.Pandoc.Options Methods readsPrec :: Int -> ReadS CaptionPosition # readList :: ReadS [CaptionPosition] # readPrec :: ReadPrec CaptionPosition # readListPrec :: ReadPrec [CaptionPosition] #
Show CaptionPosition # |
Instance details Defined in Text.Pandoc.Options Methods showsPrec :: Int -> CaptionPosition -> ShowS # show :: CaptionPosition -> String # showList :: [CaptionPosition] -> ShowS #
Eq CaptionPosition # |
Instance details Defined in Text.Pandoc.Options Methods (==) :: CaptionPosition -> CaptionPosition -> Bool # (/=) :: CaptionPosition -> CaptionPosition -> Bool #
type Rep CaptionPosition # |
Instance details Defined in Text.Pandoc.Options type Rep CaptionPosition = D1 ('MetaData "CaptionPosition" "Text.Pandoc.Options" "pandoc-3.7.0.2-LV2qWKW0Q2RElzdkrvf5Ll" 'False) (C1 ('MetaCons "CaptionAbove" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CaptionBelow" 'PrefixI 'False) (U1 :: Type -> Type))

def :: Default a => a #

The default value for this type.

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

Returns True if the given extension is enabled.

defaultMathJaxURL :: Text #

defaultKaTeXURL :: Text #