| Copyright | Copyright (C) 2012-2018 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.
- module Text.Pandoc.Extensions
- data ReaderOptions = ReaderOptions {}
- data HTMLMathMethod
- data CiteMethod
- data ObfuscationMethod
- data HTMLSlideVariant
- data EPUBVersion
- data WrapOption
- data TopLevelDivision
- data WriterOptions = WriterOptions {
- writerTemplate :: Maybe String
- writerVariables :: [(String, String)]
- writerTabStop :: Int
- writerTableOfContents :: Bool
- writerIncremental :: Bool
- writerHTMLMathMethod :: HTMLMathMethod
- writerNumberSections :: Bool
- writerNumberOffset :: [Int]
- writerSectionDivs :: Bool
- writerExtensions :: Extensions
- writerReferenceLinks :: Bool
- writerDpi :: Int
- writerWrapText :: WrapOption
- writerColumns :: Int
- writerEmailObfuscation :: ObfuscationMethod
- writerIdentifierPrefix :: String
- writerCiteMethod :: CiteMethod
- writerHtmlQTags :: Bool
- writerSlideLevel :: Maybe Int
- writerTopLevelDivision :: TopLevelDivision
- writerListings :: Bool
- writerHighlightStyle :: Maybe Style
- writerSetextHeaders :: Bool
- writerEpubSubdirectory :: String
- writerEpubMetadata :: Maybe String
- writerEpubFonts :: [FilePath]
- writerEpubChapterLevel :: Int
- writerTOCDepth :: Int
- writerReferenceDoc :: Maybe FilePath
- writerReferenceLocation :: ReferenceLocation
- writerSyntaxMap :: SyntaxMap
- data TrackChanges
- data ReferenceLocation
- def :: Default a => a
- isEnabled :: HasSyntaxExtensions a => Extension -> a -> Bool
Documentation
module Text.Pandoc.Extensions
data ReaderOptions Source #
Constructors
| ReaderOptions | |
Fields
| |
data HTMLMathMethod Source #
data CiteMethod Source #
Instances
data ObfuscationMethod Source #
Methods for obfuscating email addresses in HTML.
Constructors
| NoObfuscation | |
| ReferenceObfuscation | |
| JavascriptObfuscation |
data HTMLSlideVariant Source #
Varieties of HTML slide shows.
Constructors
| S5Slides | |
| SlidySlides | |
| SlideousSlides | |
| DZSlides | |
| RevealJsSlides | |
| NoSlides |
data EPUBVersion Source #
Instances
data WrapOption Source #
Options for wrapping text in the output.
Constructors
| WrapAuto | Automatically wrap to width |
| WrapNone | No non-semantic newlines |
| WrapPreserve | Preserve wrapping of input source |
Instances
data TopLevelDivision Source #
Options defining the type of top-level headers.
Constructors
| TopLevelPart | Top-level headers become parts |
| TopLevelChapter | Top-level headers become chapters |
| TopLevelSection | Top-level headers become sections |
| TopLevelDefault | Top-level type is determined via heuristics |
data WriterOptions Source #
Options for writers
Constructors
| WriterOptions | |
Fields
| |
Instances
data TrackChanges Source #
Options for accepting or rejecting MS Word track-changes.
Constructors
| AcceptChanges | |
| RejectChanges | |
| AllChanges |
data ReferenceLocation Source #
Locations for footnotes and references in markdown output
Constructors
| EndOfBlock | End of block |
| EndOfSection | prior to next section header (or end of document) |
| EndOfDocument | at end of document |