Added defaultWriterOptions to Shared.hs.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@545 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
90390b65f4
commit
3456355174
1 changed files with 15 additions and 0 deletions
|
@ -58,6 +58,7 @@ module Text.Pandoc.Shared (
|
|||
compactify,
|
||||
generateReference,
|
||||
WriterOptions (..),
|
||||
defaultWriterOptions,
|
||||
KeyTable,
|
||||
keyTable,
|
||||
lookupKeySrc,
|
||||
|
@ -349,6 +350,20 @@ data WriterOptions = WriterOptions
|
|||
, writerNotes :: [Block] -- ^ List of note blocks
|
||||
} deriving Show
|
||||
|
||||
-- | Default writer options.
|
||||
defaultWriterOptions =
|
||||
WriterOptions { writerStandalone = True,
|
||||
writerHeader = "",
|
||||
writerTitlePrefix = "",
|
||||
writerTabStop = 4,
|
||||
writerNotes = [],
|
||||
writerS5 = False,
|
||||
writerIncremental = False,
|
||||
writerNumberSections = False,
|
||||
writerIncludeBefore = "",
|
||||
writerIncludeAfter = "",
|
||||
writerStrictMarkdown = False }
|
||||
|
||||
--
|
||||
-- Functions for constructing lists of reference keys
|
||||
--
|
||||
|
|
Loading…
Reference in a new issue