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 |
Data structures and functions for representing parser and writer options.
Synopsis
- 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 #
ReaderOptions | |
|
Instances
data HTMLMathMethod Source #
Instances
data CiteMethod Source #
Instances
data ObfuscationMethod Source #
Methods for obfuscating email addresses in HTML.
Instances
data HTMLSlideVariant Source #
Varieties of HTML slide shows.
Instances
data EPUBVersion Source #
Instances
data WrapOption Source #
Options for wrapping text in the output.
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.
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
data WriterOptions Source #
Options for writers
WriterOptions | |
|
Instances
data TrackChanges Source #
Options for accepting or rejecting MS Word track-changes.
Instances
data ReferenceLocation Source #
Locations for footnotes and references in markdown output
EndOfBlock | End of block |
EndOfSection | prior to next section header (or end of document) |
EndOfDocument | at end of document |