pandoc-1.19.2.1: Conversion between markup formats

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

Text.Pandoc.Options

Description

Data structures and functions for representing parser and writer options.

Synopsis

- data Extension
  - = Ext_footnotes
  - | Ext_inline_notes
  - | Ext_pandoc_title_block
  - | Ext_yaml_metadata_block
  - | Ext_mmd_title_block
  - | Ext_table_captions
  - | Ext_implicit_figures
  - | Ext_simple_tables
  - | Ext_multiline_tables
  - | Ext_grid_tables
  - | Ext_pipe_tables
  - | Ext_citations
  - | Ext_raw_tex
  - | Ext_raw_html
  - | Ext_tex_math_dollars
  - | Ext_tex_math_single_backslash
  - | Ext_tex_math_double_backslash
  - | Ext_latex_macros
  - | Ext_fenced_code_blocks
  - | Ext_fenced_code_attributes
  - | Ext_backtick_code_blocks
  - | Ext_inline_code_attributes
  - | Ext_markdown_in_html_blocks
  - | Ext_native_divs
  - | Ext_native_spans
  - | Ext_bracketed_spans
  - | Ext_markdown_attribute
  - | Ext_escaped_line_breaks
  - | Ext_link_attributes
  - | Ext_mmd_link_attributes
  - | Ext_autolink_bare_uris
  - | Ext_fancy_lists
  - | Ext_lists_without_preceding_blankline
  - | Ext_startnum
  - | Ext_definition_lists
  - | Ext_compact_definition_lists
  - | Ext_example_lists
  - | Ext_all_symbols_escapable
  - | Ext_angle_brackets_escapable
  - | Ext_intraword_underscores
  - | Ext_blank_before_blockquote
  - | Ext_blank_before_header
  - | Ext_strikeout
  - | Ext_superscript
  - | Ext_subscript
  - | Ext_hard_line_breaks
  - | Ext_ignore_line_breaks
  - | Ext_east_asian_line_breaks
  - | Ext_literate_haskell
  - | Ext_abbreviations
  - | Ext_emoji
  - | Ext_auto_identifiers
  - | Ext_ascii_identifiers
  - | Ext_header_attributes
  - | Ext_mmd_header_identifiers
  - | Ext_implicit_header_references
  - | Ext_line_blocks
  - | Ext_epub_html_exts
  - | Ext_shortcut_reference_links
- pandocExtensions :: Set Extension
- plainExtensions :: Set Extension
- strictExtensions :: Set Extension
- phpMarkdownExtraExtensions :: Set Extension
- githubMarkdownExtensions :: Set Extension
- multimarkdownExtensions :: Set Extension
- data ReaderOptions = ReaderOptions {
  - readerExtensions :: Set Extension
  - readerSmart :: Bool
  - readerStandalone :: Bool
  - readerParseRaw :: Bool
  - readerColumns :: Int
  - readerTabStop :: Int
  - readerOldDashes :: Bool
  - readerApplyMacros :: Bool
  - readerIndentedCodeClasses :: [String]
  - readerDefaultImageExtension :: String
  - readerTrace :: Bool
  - readerTrackChanges :: TrackChanges
  - readerFileScope :: Bool
  }
- data HTMLMathMethod
  - = PlainMath
  - | LaTeXMathML (Maybe String)
  - | JsMath (Maybe String)
  - | GladTeX
  - | WebTeX String
  - | MathML (Maybe String)
  - | MathJax String
  - | KaTeX String String
- 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 String
  - writerVariables :: [(String, String)]
  - writerTabStop :: Int
  - writerTableOfContents :: Bool
  - writerSlideVariant :: HTMLSlideVariant
  - writerIncremental :: Bool
  - writerHTMLMathMethod :: HTMLMathMethod
  - writerIgnoreNotes :: Bool
  - writerNumberSections :: Bool
  - writerNumberOffset :: [Int]
  - writerSectionDivs :: Bool
  - writerExtensions :: Set Extension
  - writerReferenceLinks :: Bool
  - writerDpi :: Int
  - writerWrapText :: WrapOption
  - writerColumns :: Int
  - writerEmailObfuscation :: ObfuscationMethod
  - writerIdentifierPrefix :: String
  - writerSourceURL :: Maybe String
  - writerUserDataDir :: Maybe FilePath
  - writerCiteMethod :: CiteMethod
  - writerDocbook5 :: Bool
  - writerHtml5 :: Bool
  - writerHtmlQTags :: Bool
  - writerBeamer :: Bool
  - writerSlideLevel :: Maybe Int
  - writerTopLevelDivision :: TopLevelDivision
  - writerListings :: Bool
  - writerHighlight :: Bool
  - writerHighlightStyle :: Style
  - writerSetextHeaders :: Bool
  - writerTeXLigatures :: Bool
  - writerEpubVersion :: Maybe EPUBVersion
  - writerEpubMetadata :: String
  - writerEpubStylesheet :: Maybe String
  - writerEpubFonts :: [FilePath]
  - writerEpubChapterLevel :: Int
  - writerTOCDepth :: Int
  - writerReferenceODT :: Maybe FilePath
  - writerReferenceDocx :: Maybe FilePath
  - writerMediaBag :: MediaBag
  - writerVerbose :: Bool
  - writerLaTeXArgs :: [String]
  - writerReferenceLocation :: ReferenceLocation
  }
- data TrackChanges
  - = AcceptChanges
  - | RejectChanges
  - | AllChanges
- data ReferenceLocation
  - = EndOfBlock
  - | EndOfSection
  - | EndOfDocument
- def :: Default a => a
- isEnabled :: Extension -> WriterOptions -> Bool

# Documentation

data Extension #

Individually selectable syntax extensions.

Constructors

Ext_footnotes | PandocPHPMMD style footnotes
Ext_inline_notes | Pandoc-style inline notes
Ext_pandoc_title_block | Pandoc title block
Ext_yaml_metadata_block | YAML metadata block
Ext_mmd_title_block | Multimarkdown metadata block
Ext_table_captions | Pandoc-style table captions
Ext_implicit_figures | A paragraph with just an image is a figure
Ext_simple_tables | Pandoc-style simple tables
Ext_multiline_tables | Pandoc-style multiline tables
Ext_grid_tables | Grid tables (pandoc, reST)
Ext_pipe_tables | Pipe tables (as in PHP markdown extra)
Ext_citations | Pandoc/citeproc citations
Ext_raw_tex | Allow raw TeX (other than math)
Ext_raw_html | Allow raw HTML
Ext_tex_math_dollars | TeX math between $..$ or $$..$$
Ext_tex_math_single_backslash | TeX math btw \(..\) \[..\]
Ext_tex_math_double_backslash | TeX math btw \(..\) \[..\]
Ext_latex_macros | Parse LaTeX macro definitions (for math only)
Ext_fenced_code_blocks | Parse fenced code blocks
Ext_fenced_code_attributes | Allow attributes on fenced code blocks
Ext_backtick_code_blocks | GitHub style ``` code blocks
Ext_inline_code_attributes | Allow attributes on inline code
Ext_markdown_in_html_blocks | Interpret as markdown inside HTML blocks
Ext_native_divs | Use Div blocks for contents of div tags
Ext_native_spans | Use Span inlines for contents of span
Ext_bracketed_spans | Bracketed spans with attributes
Ext_markdown_attribute | Interpret text inside HTML as markdown iff container has attribute `markdown`
Ext_escaped_line_breaks | Treat a backslash at EOL as linebreak
Ext_link_attributes | link and image attributes
Ext_mmd_link_attributes | MMD style reference link attributes
Ext_autolink_bare_uris | Make all absolute URIs into links
Ext_fancy_lists | Enable fancy list numbers and delimiters
Ext_lists_without_preceding_blankline | Allow lists without preceding blank
Ext_startnum | Make start number of ordered list significant
Ext_definition_lists | Definition lists as in pandoc, mmd, php
Ext_compact_definition_lists | Definition lists without space between items, and disallow laziness
Ext_example_lists | Markdown-style numbered examples
Ext_all_symbols_escapable | Make all non-alphanumerics escapable
Ext_angle_brackets_escapable | Make and escapable
Ext_intraword_underscores | Treat underscore inside word as literal
Ext_blank_before_blockquote | Require blank line before a blockquote
Ext_blank_before_header | Require blank line before a header
Ext_strikeout | Strikeout using ~~this~~ syntax
Ext_superscript | Superscript using ^this^ syntax
Ext_subscript | Subscript using ~this~ syntax
Ext_hard_line_breaks | All newlines become hard line breaks
Ext_ignore_line_breaks | Newlines in paragraphs are ignored
Ext_east_asian_line_breaks | Newlines in paragraphs are ignored between East Asian wide characters
Ext_literate_haskell | Enable literate Haskell conventions
Ext_abbreviations | PHP markdown extra abbreviation definitions
Ext_emoji | Support emoji like :smile:
Ext_auto_identifiers | Automatic identifiers for headers
Ext_ascii_identifiers | ascii-only identifiers for headers
Ext_header_attributes | Explicit header attributes {#id .class k=v}
Ext_mmd_header_identifiers | Multimarkdown style header identifiers [myid]
Ext_implicit_header_references | Implicit reference links for headers
Ext_line_blocks | RST style line blocks
Ext_epub_html_exts | Recognise the EPUB extended version of HTML
Ext_shortcut_reference_links | Shortcut reference links

Instances

Bounded Extension # |
Methods minBound :: Extension # maxBound :: Extension #
Enum Extension # |
Methods succ :: Extension -> Extension # pred :: Extension -> Extension # toEnum :: Int -> Extension # fromEnum :: Extension -> Int # enumFrom :: Extension -> [Extension] # enumFromThen :: Extension -> Extension -> [Extension] # enumFromTo :: Extension -> Extension -> [Extension] # enumFromThenTo :: Extension -> Extension -> Extension -> [Extension] #
Eq Extension # |
Methods (==) :: Extension -> Extension -> Bool # (/=) :: Extension -> Extension -> Bool #
Data Extension # |
Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Extension -> c Extension # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Extension # toConstr :: Extension -> Constr # dataTypeOf :: Extension -> DataType # dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Extension) # dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Extension) # gmapT :: (forall b. Data b => b -> b) -> Extension -> Extension # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Extension -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Extension -> r # gmapQ :: (forall d. Data d => d -> u) -> Extension -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Extension -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Extension -> m Extension # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Extension -> m Extension # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Extension -> m Extension #
Ord Extension # |
Methods compare :: Extension -> Extension -> Ordering # (<) :: Extension -> Extension -> Bool # (<=) :: Extension -> Extension -> Bool # (>) :: Extension -> Extension -> Bool # (>=) :: Extension -> Extension -> Bool # max :: Extension -> Extension -> Extension # min :: Extension -> Extension -> Extension #
Read Extension # |
Methods readsPrec :: Int -> ReadS Extension # readList :: ReadS [Extension] # readPrec :: ReadPrec Extension # readListPrec :: ReadPrec [Extension] #
Show Extension # |
Methods showsPrec :: Int -> Extension -> ShowS # show :: Extension -> String # showList :: [Extension] -> ShowS #
Generic Extension # |
Associated Types type Rep Extension :: * -> * # Methods from :: Extension -> Rep Extension x # to :: Rep Extension x -> Extension #
type Rep Extension # |
type Rep Extension = D1 (MetaData "Extension" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ext_footnotes" PrefixI False) U1) ((:+:) (C1 (MetaCons "Ext_inline_notes" PrefixI False) U1) (C1 (MetaCons "Ext_pandoc_title_block" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_yaml_metadata_block" PrefixI False) U1) (C1 (MetaCons "Ext_mmd_title_block" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_table_captions" PrefixI False) U1) (C1 (MetaCons "Ext_implicit_figures" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "Ext_simple_tables" PrefixI False) U1) ((:+:) (C1 (MetaCons "Ext_multiline_tables" PrefixI False) U1) (C1 (MetaCons "Ext_grid_tables" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_pipe_tables" PrefixI False) U1) (C1 (MetaCons "Ext_citations" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_raw_tex" PrefixI False) U1) (C1 (MetaCons "Ext_raw_html" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ext_tex_math_dollars" PrefixI False) U1) ((:+:) (C1 (MetaCons "Ext_tex_math_single_backslash" PrefixI False) U1) (C1 (MetaCons "Ext_tex_math_double_backslash" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_latex_macros" PrefixI False) U1) (C1 (MetaCons "Ext_fenced_code_blocks" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_fenced_code_attributes" PrefixI False) U1) (C1 (MetaCons "Ext_backtick_code_blocks" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ext_inline_code_attributes" PrefixI False) U1) (C1 (MetaCons "Ext_markdown_in_html_blocks" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_native_divs" PrefixI False) U1) (C1 (MetaCons "Ext_native_spans" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_bracketed_spans" PrefixI False) U1) (C1 (MetaCons "Ext_markdown_attribute" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_escaped_line_breaks" PrefixI False) U1) (C1 (MetaCons "Ext_link_attributes" PrefixI False) U1)))))) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ext_mmd_link_attributes" PrefixI False) U1) ((:+:) (C1 (MetaCons "Ext_autolink_bare_uris" PrefixI False) U1) (C1 (MetaCons "Ext_fancy_lists" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_lists_without_preceding_blankline" PrefixI False) U1) (C1 (MetaCons "Ext_startnum" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_definition_lists" PrefixI False) U1) (C1 (MetaCons "Ext_compact_definition_lists" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ext_example_lists" PrefixI False) U1) (C1 (MetaCons "Ext_all_symbols_escapable" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_angle_brackets_escapable" PrefixI False) U1) (C1 (MetaCons "Ext_intraword_underscores" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_blank_before_blockquote" PrefixI False) U1) (C1 (MetaCons "Ext_blank_before_header" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_strikeout" PrefixI False) U1) (C1 (MetaCons "Ext_superscript" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ext_subscript" PrefixI False) U1) ((:+:) (C1 (MetaCons "Ext_hard_line_breaks" PrefixI False) U1) (C1 (MetaCons "Ext_ignore_line_breaks" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_east_asian_line_breaks" PrefixI False) U1) (C1 (MetaCons "Ext_literate_haskell" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_abbreviations" PrefixI False) U1) (C1 (MetaCons "Ext_emoji" PrefixI False) U1)))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Ext_auto_identifiers" PrefixI False) U1) (C1 (MetaCons "Ext_ascii_identifiers" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_header_attributes" PrefixI False) U1) (C1 (MetaCons "Ext_mmd_header_identifiers" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Ext_implicit_header_references" PrefixI False) U1) (C1 (MetaCons "Ext_line_blocks" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ext_epub_html_exts" PrefixI False) U1) (C1 (MetaCons "Ext_shortcut_reference_links" PrefixI False) U1)))))))

pandocExtensions :: Set Extension #

plainExtensions :: Set Extension #

strictExtensions :: Set Extension #

phpMarkdownExtraExtensions :: Set Extension #

githubMarkdownExtensions :: Set Extension #

multimarkdownExtensions :: Set Extension #

data ReaderOptions #

Constructors

ReaderOptions |
Fields readerExtensions :: Set Extension Syntax extensions readerSmart :: Bool Smart punctuation readerStandalone :: Bool Standalone document with header readerParseRaw :: Bool Parse raw HTML, LaTeX readerColumns :: Int Number of columns in terminal readerTabStop :: Int Tab stop readerOldDashes :: Bool Use pandoc <= 1.8.2.1 behavior in parsing dashes; -- is em-dash; - before numerial is en-dash readerApplyMacros :: Bool Apply macros to TeX math readerIndentedCodeClasses :: [String] Default classes for indented code blocks readerDefaultImageExtension :: String Default extension for images readerTrace :: Bool Print debugging info readerTrackChanges :: TrackChanges readerFileScope :: Bool Parse before combining

Instances

Data ReaderOptions # |
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 :: (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 #
Read ReaderOptions # |
Methods readsPrec :: Int -> ReadS ReaderOptions # readList :: ReadS [ReaderOptions] # readPrec :: ReadPrec ReaderOptions # readListPrec :: ReadPrec [ReaderOptions] #
Show ReaderOptions # |
Methods showsPrec :: Int -> ReaderOptions -> ShowS # show :: ReaderOptions -> String # showList :: [ReaderOptions] -> ShowS #
Generic ReaderOptions # |
Associated Types type Rep ReaderOptions :: * -> * # Methods from :: ReaderOptions -> Rep ReaderOptions x # to :: Rep ReaderOptions x -> ReaderOptions #
Default ReaderOptions # |
Methods def :: ReaderOptions #
type Rep ReaderOptions # |
type Rep ReaderOptions = D1 (MetaData "ReaderOptions" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) (C1 (MetaCons "ReaderOptions" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "readerExtensions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Set Extension))) ((:*:) (S1 (MetaSel (Just Symbol "readerSmart") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "readerStandalone") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "readerParseRaw") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "readerColumns") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "readerTabStop") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "readerOldDashes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "readerApplyMacros") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "readerIndentedCodeClasses") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "readerDefaultImageExtension") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "readerTrace") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "readerTrackChanges") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TrackChanges)) (S1 (MetaSel (Just Symbol "readerFileScope") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))))))

data HTMLMathMethod #

Constructors

PlainMath |
LaTeXMathML (Maybe String) |
JsMath (Maybe String) |
GladTeX |
WebTeX String |
MathML (Maybe String) |
MathJax String |
KaTeX String String |

Instances

Eq HTMLMathMethod # |
Methods (==) :: HTMLMathMethod -> HTMLMathMethod -> Bool # (/=) :: HTMLMathMethod -> HTMLMathMethod -> Bool #
Data HTMLMathMethod # |
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 :: (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 #
Read HTMLMathMethod # |
Methods readsPrec :: Int -> ReadS HTMLMathMethod # readList :: ReadS [HTMLMathMethod] # readPrec :: ReadPrec HTMLMathMethod # readListPrec :: ReadPrec [HTMLMathMethod] #
Show HTMLMathMethod # |
Methods showsPrec :: Int -> HTMLMathMethod -> ShowS # show :: HTMLMathMethod -> String # showList :: [HTMLMathMethod] -> ShowS #
Generic HTMLMathMethod # |
Associated Types type Rep HTMLMathMethod :: * -> * # Methods from :: HTMLMathMethod -> Rep HTMLMathMethod x # to :: Rep HTMLMathMethod x -> HTMLMathMethod #
type Rep HTMLMathMethod # |
type Rep HTMLMathMethod = D1 (MetaData "HTMLMathMethod" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "PlainMath" PrefixI False) U1) (C1 (MetaCons "LaTeXMathML" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String))))) ((:+:) (C1 (MetaCons "JsMath" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String)))) (C1 (MetaCons "GladTeX" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "WebTeX" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) (C1 (MetaCons "MathML" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String))))) ((:+:) (C1 (MetaCons "MathJax" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) (C1 (MetaCons "KaTeX" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))))))

data CiteMethod #

Constructors

Citeproc |
Natbib |
Biblatex |

Instances

Eq CiteMethod # |
Methods (==) :: CiteMethod -> CiteMethod -> Bool # (/=) :: CiteMethod -> CiteMethod -> Bool #
Data CiteMethod # |
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 :: (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 #
Read CiteMethod # |
Methods readsPrec :: Int -> ReadS CiteMethod # readList :: ReadS [CiteMethod] # readPrec :: ReadPrec CiteMethod # readListPrec :: ReadPrec [CiteMethod] #
Show CiteMethod # |
Methods showsPrec :: Int -> CiteMethod -> ShowS # show :: CiteMethod -> String # showList :: [CiteMethod] -> ShowS #
Generic CiteMethod # |
Associated Types type Rep CiteMethod :: * -> * # Methods from :: CiteMethod -> Rep CiteMethod x # to :: Rep CiteMethod x -> CiteMethod #
type Rep CiteMethod # |
type Rep CiteMethod = D1 (MetaData "CiteMethod" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) (C1 (MetaCons "Citeproc" PrefixI False) U1) ((:+:) (C1 (MetaCons "Natbib" PrefixI False) U1) (C1 (MetaCons "Biblatex" PrefixI False) U1)))

data ObfuscationMethod #

Methods for obfuscating email addresses in HTML.

Constructors

NoObfuscation |
ReferenceObfuscation |
JavascriptObfuscation |

Instances

Eq ObfuscationMethod # |
Methods (==) :: ObfuscationMethod -> ObfuscationMethod -> Bool # (/=) :: ObfuscationMethod -> ObfuscationMethod -> Bool #
Data ObfuscationMethod # |
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 :: (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 #
Read ObfuscationMethod # |
Methods readsPrec :: Int -> ReadS ObfuscationMethod # readList :: ReadS [ObfuscationMethod] # readPrec :: ReadPrec ObfuscationMethod # readListPrec :: ReadPrec [ObfuscationMethod] #
Show ObfuscationMethod # |
Methods showsPrec :: Int -> ObfuscationMethod -> ShowS # show :: ObfuscationMethod -> String # showList :: [ObfuscationMethod] -> ShowS #
Generic ObfuscationMethod # |
Associated Types type Rep ObfuscationMethod :: * -> * # Methods from :: ObfuscationMethod -> Rep ObfuscationMethod x # to :: Rep ObfuscationMethod x -> ObfuscationMethod #
type Rep ObfuscationMethod # |
type Rep ObfuscationMethod = D1 (MetaData "ObfuscationMethod" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) (C1 (MetaCons "NoObfuscation" PrefixI False) U1) ((:+:) (C1 (MetaCons "ReferenceObfuscation" PrefixI False) U1) (C1 (MetaCons "JavascriptObfuscation" PrefixI False) U1)))

data HTMLSlideVariant #

Varieties of HTML slide shows.

Constructors

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

Instances

Eq HTMLSlideVariant # |
Methods (==) :: HTMLSlideVariant -> HTMLSlideVariant -> Bool # (/=) :: HTMLSlideVariant -> HTMLSlideVariant -> Bool #
Data HTMLSlideVariant # |
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 :: (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 #
Read HTMLSlideVariant # |
Methods readsPrec :: Int -> ReadS HTMLSlideVariant # readList :: ReadS [HTMLSlideVariant] # readPrec :: ReadPrec HTMLSlideVariant # readListPrec :: ReadPrec [HTMLSlideVariant] #
Show HTMLSlideVariant # |
Methods showsPrec :: Int -> HTMLSlideVariant -> ShowS # show :: HTMLSlideVariant -> String # showList :: [HTMLSlideVariant] -> ShowS #
Generic HTMLSlideVariant # |
Associated Types type Rep HTMLSlideVariant :: * -> * # Methods from :: HTMLSlideVariant -> Rep HTMLSlideVariant x # to :: Rep HTMLSlideVariant x -> HTMLSlideVariant #
type Rep HTMLSlideVariant # |
type Rep HTMLSlideVariant = D1 (MetaData "HTMLSlideVariant" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) ((:+:) (C1 (MetaCons "S5Slides" PrefixI False) U1) ((:+:) (C1 (MetaCons "SlidySlides" PrefixI False) U1) (C1 (MetaCons "SlideousSlides" PrefixI False) U1))) ((:+:) (C1 (MetaCons "DZSlides" PrefixI False) U1) ((:+:) (C1 (MetaCons "RevealJsSlides" PrefixI False) U1) (C1 (MetaCons "NoSlides" PrefixI False) U1))))

data EPUBVersion #

Constructors

EPUB2 |
EPUB3 |

Instances

Eq EPUBVersion # |
Methods (==) :: EPUBVersion -> EPUBVersion -> Bool # (/=) :: EPUBVersion -> EPUBVersion -> Bool #
Data EPUBVersion # |
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 :: (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 #
Read EPUBVersion # |
Methods readsPrec :: Int -> ReadS EPUBVersion # readList :: ReadS [EPUBVersion] # readPrec :: ReadPrec EPUBVersion # readListPrec :: ReadPrec [EPUBVersion] #
Show EPUBVersion # |
Methods showsPrec :: Int -> EPUBVersion -> ShowS # show :: EPUBVersion -> String # showList :: [EPUBVersion] -> ShowS #
Generic EPUBVersion # |
Associated Types type Rep EPUBVersion :: * -> * # Methods from :: EPUBVersion -> Rep EPUBVersion x # to :: Rep EPUBVersion x -> EPUBVersion #
type Rep EPUBVersion # |
type Rep EPUBVersion = D1 (MetaData "EPUBVersion" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) (C1 (MetaCons "EPUB2" PrefixI False) U1) (C1 (MetaCons "EPUB3" PrefixI False) U1))

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

Eq WrapOption # |
Methods (==) :: WrapOption -> WrapOption -> Bool # (/=) :: WrapOption -> WrapOption -> Bool #
Data WrapOption # |
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 :: (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 #
Read WrapOption # |
Methods readsPrec :: Int -> ReadS WrapOption # readList :: ReadS [WrapOption] # readPrec :: ReadPrec WrapOption # readListPrec :: ReadPrec [WrapOption] #
Show WrapOption # |
Methods showsPrec :: Int -> WrapOption -> ShowS # show :: WrapOption -> String # showList :: [WrapOption] -> ShowS #
Generic WrapOption # |
Associated Types type Rep WrapOption :: * -> * # Methods from :: WrapOption -> Rep WrapOption x # to :: Rep WrapOption x -> WrapOption #
type Rep WrapOption # |
type Rep WrapOption = D1 (MetaData "WrapOption" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) (C1 (MetaCons "WrapAuto" PrefixI False) U1) ((:+:) (C1 (MetaCons "WrapNone" PrefixI False) U1) (C1 (MetaCons "WrapPreserve" PrefixI False) U1)))

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

Eq TopLevelDivision # |
Methods (==) :: TopLevelDivision -> TopLevelDivision -> Bool # (/=) :: TopLevelDivision -> TopLevelDivision -> Bool #
Data TopLevelDivision # |
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 :: (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 #
Read TopLevelDivision # |
Methods readsPrec :: Int -> ReadS TopLevelDivision # readList :: ReadS [TopLevelDivision] # readPrec :: ReadPrec TopLevelDivision # readListPrec :: ReadPrec [TopLevelDivision] #
Show TopLevelDivision # |
Methods showsPrec :: Int -> TopLevelDivision -> ShowS # show :: TopLevelDivision -> String # showList :: [TopLevelDivision] -> ShowS #
Generic TopLevelDivision # |
Associated Types type Rep TopLevelDivision :: * -> * # Methods from :: TopLevelDivision -> Rep TopLevelDivision x # to :: Rep TopLevelDivision x -> TopLevelDivision #
type Rep TopLevelDivision # |
type Rep TopLevelDivision = D1 (MetaData "TopLevelDivision" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) ((:+:) (C1 (MetaCons "TopLevelPart" PrefixI False) U1) (C1 (MetaCons "TopLevelChapter" PrefixI False) U1)) ((:+:) (C1 (MetaCons "TopLevelSection" PrefixI False) U1) (C1 (MetaCons "TopLevelDefault" PrefixI False) U1)))

data WriterOptions #

Options for writers

Constructors

WriterOptions |
Fields writerTemplate :: Maybe String Template to use writerVariables :: [(String, String)] Variables to set in template writerTabStop :: Int Tabstop for conversion btw spaces and tabs writerTableOfContents :: Bool Include table of contents writerSlideVariant :: HTMLSlideVariant Are we writing S5, Slidy or Slideous? writerIncremental :: Bool True if lists should be incremental writerHTMLMathMethod :: HTMLMathMethod How to print math in HTML writerIgnoreNotes :: Bool Ignore footnotes (used in making toc) writerNumberSections :: Bool Number sections in LaTeX writerNumberOffset :: [Int] Starting number for section, subsection, ... writerSectionDivs :: Bool Put sections in div tags in HTML writerExtensions :: Set Extension Markdown extensions that can be used writerReferenceLinks :: Bool Use reference links in writing markdown, rst writerDpi :: Int Dpi for pixel tofrom inchcm conversions writerWrapText :: WrapOption Option for wrapping text writerColumns :: Int Characters in a line (for text wrapping) writerEmailObfuscation :: ObfuscationMethod How to obfuscate emails writerIdentifierPrefix :: String Prefix for section & note ids in HTML and for footnote marks in markdown writerSourceURL :: Maybe String Absolute URL + directory of 1st source file writerUserDataDir :: Maybe FilePath Path of user data directory writerCiteMethod :: CiteMethod How to print cites writerDocbook5 :: Bool Produce DocBook5 writerHtml5 :: Bool Produce HTML5 writerHtmlQTags :: Bool Use `q` tags for quotes in HTML writerBeamer :: Bool Produce beamer LaTeX slide show writerSlideLevel :: Maybe Int Force header level of slides writerTopLevelDivision :: TopLevelDivision Type of top-level divisions writerListings :: Bool Use listings package for code writerHighlight :: Bool Highlight source code writerHighlightStyle :: Style Style to use for highlighting writerSetextHeaders :: Bool Use setext headers for levels 1-2 in markdown writerTeXLigatures :: Bool Use tex ligatures quotes, dashes in latex writerEpubVersion :: Maybe EPUBVersion Nothing or EPUB version writerEpubMetadata :: String Metadata to include in EPUB writerEpubStylesheet :: Maybe String EPUB stylesheet specified at command line writerEpubFonts :: [FilePath] Paths to fonts to embed writerEpubChapterLevel :: Int Header level for chapters (separate files) writerTOCDepth :: Int Number of levels to include in TOC writerReferenceODT :: Maybe FilePath Path to reference ODT if specified writerReferenceDocx :: Maybe FilePath Path to reference DOCX if specified writerMediaBag :: MediaBag Media collected by docx or epub reader writerVerbose :: Bool Verbose debugging output writerLaTeXArgs :: [String] Flags to pass to latex-engine writerReferenceLocation :: ReferenceLocation Location of footnotes and references for writing markdown

Instances

Data WriterOptions # |
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 :: (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 #
Show WriterOptions # |
Methods showsPrec :: Int -> WriterOptions -> ShowS # show :: WriterOptions -> String # showList :: [WriterOptions] -> ShowS #
Generic WriterOptions # |
Associated Types type Rep WriterOptions :: * -> * # Methods from :: WriterOptions -> Rep WriterOptions x # to :: Rep WriterOptions x -> WriterOptions #
Default WriterOptions # |
Methods def :: WriterOptions #
type Rep WriterOptions # |
type Rep WriterOptions = D1 (MetaData "WriterOptions" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) (C1 (MetaCons "WriterOptions" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerTemplate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String))) (S1 (MetaSel (Just Symbol "writerVariables") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(String, String)]))) ((:*:) (S1 (MetaSel (Just Symbol "writerTabStop") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "writerTableOfContents") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "writerSlideVariant") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 HTMLSlideVariant))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerIncremental") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "writerHTMLMathMethod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 HTMLMathMethod)) (S1 (MetaSel (Just Symbol "writerIgnoreNotes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "writerNumberSections") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "writerNumberOffset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Int])) (S1 (MetaSel (Just Symbol "writerSectionDivs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerExtensions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Set Extension))) (S1 (MetaSel (Just Symbol "writerReferenceLinks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "writerDpi") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "writerWrapText") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 WrapOption)) (S1 (MetaSel (Just Symbol "writerColumns") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerEmailObfuscation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ObfuscationMethod)) ((:*:) (S1 (MetaSel (Just Symbol "writerIdentifierPrefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "writerSourceURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String))))) ((:*:) (S1 (MetaSel (Just Symbol "writerUserDataDir") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe FilePath))) ((:*:) (S1 (MetaSel (Just Symbol "writerCiteMethod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CiteMethod)) (S1 (MetaSel (Just Symbol "writerDocbook5") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))))))) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerHtml5") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "writerHtmlQTags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "writerBeamer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "writerSlideLevel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "writerTopLevelDivision") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TopLevelDivision))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerListings") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "writerHighlight") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "writerHighlightStyle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Style)))) ((:*:) (S1 (MetaSel (Just Symbol "writerSetextHeaders") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "writerTeXLigatures") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "writerEpubVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe EPUBVersion))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerEpubMetadata") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Just Symbol "writerEpubStylesheet") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe String)))) ((:*:) (S1 (MetaSel (Just Symbol "writerEpubFonts") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [FilePath])) ((:*:) (S1 (MetaSel (Just Symbol "writerEpubChapterLevel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "writerTOCDepth") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "writerReferenceODT") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe FilePath))) ((:*:) (S1 (MetaSel (Just Symbol "writerReferenceDocx") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe FilePath))) (S1 (MetaSel (Just Symbol "writerMediaBag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 MediaBag)))) ((:*:) (S1 (MetaSel (Just Symbol "writerVerbose") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "writerLaTeXArgs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])) (S1 (MetaSel (Just Symbol "writerReferenceLocation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ReferenceLocation)))))))))

data TrackChanges #

Options for accepting or rejecting MS Word track-changes.

Constructors

AcceptChanges |
RejectChanges |
AllChanges |

Instances

Eq TrackChanges # |
Methods (==) :: TrackChanges -> TrackChanges -> Bool # (/=) :: TrackChanges -> TrackChanges -> Bool #
Data TrackChanges # |
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 :: (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 #
Read TrackChanges # |
Methods readsPrec :: Int -> ReadS TrackChanges # readList :: ReadS [TrackChanges] # readPrec :: ReadPrec TrackChanges # readListPrec :: ReadPrec [TrackChanges] #
Show TrackChanges # |
Methods showsPrec :: Int -> TrackChanges -> ShowS # show :: TrackChanges -> String # showList :: [TrackChanges] -> ShowS #
Generic TrackChanges # |
Associated Types type Rep TrackChanges :: * -> * # Methods from :: TrackChanges -> Rep TrackChanges x # to :: Rep TrackChanges x -> TrackChanges #
type Rep TrackChanges # |
type Rep TrackChanges = D1 (MetaData "TrackChanges" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) (C1 (MetaCons "AcceptChanges" PrefixI False) U1) ((:+:) (C1 (MetaCons "RejectChanges" PrefixI False) U1) (C1 (MetaCons "AllChanges" PrefixI False) U1)))

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

Eq ReferenceLocation # |
Methods (==) :: ReferenceLocation -> ReferenceLocation -> Bool # (/=) :: ReferenceLocation -> ReferenceLocation -> Bool #
Data ReferenceLocation # |
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 :: (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 #
Read ReferenceLocation # |
Methods readsPrec :: Int -> ReadS ReferenceLocation # readList :: ReadS [ReferenceLocation] # readPrec :: ReadPrec ReferenceLocation # readListPrec :: ReadPrec [ReferenceLocation] #
Show ReferenceLocation # |
Methods showsPrec :: Int -> ReferenceLocation -> ShowS # show :: ReferenceLocation -> String # showList :: [ReferenceLocation] -> ShowS #
Generic ReferenceLocation # |
Associated Types type Rep ReferenceLocation :: * -> * # Methods from :: ReferenceLocation -> Rep ReferenceLocation x # to :: Rep ReferenceLocation x -> ReferenceLocation #
type Rep ReferenceLocation # |
type Rep ReferenceLocation = D1 (MetaData "ReferenceLocation" "Text.Pandoc.Options" "pandoc-1.19.2.1-89V3EUHFpNg8xX1Ka5J9xk" False) ((:+:) (C1 (MetaCons "EndOfBlock" PrefixI False) U1) ((:+:) (C1 (MetaCons "EndOfSection" PrefixI False) U1) (C1 (MetaCons "EndOfDocument" PrefixI False) U1)))

def :: Default a => a #

The default value for this type.

isEnabled :: Extension -> WriterOptions -> Bool #

Returns True if the given extension is enabled.