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:
fiddlosopher 2007-02-21 01:22:08 +00:00
parent 90390b65f4
commit 3456355174

View file

@ -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
--