git.iko.soy/typeable/pandoc
on master help sign in
Added defaultWriterOptions to Shared.hs.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@545 788f1e2b-df1e-0410-8736-df70ead52e1b

commit3456355174586bffcdce099aee2027688cddb33b authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateWed 21 Feb 2007, 01:22 (20 years ago) parent90390b6
1 file changed+15
src/Text/Pandoc/Shared.hs+15
src/Text/Pandoc/Shared.hs+15
@@ -58,6 +58,7 @@ module Text.Pandoc.Shared (
5858 compactify,
5959 generateReference,
6060 WriterOptions (..),
61+ defaultWriterOptions,
6162 KeyTable,
6263 keyTable,
6364 lookupKeySrc,
@@ -349,6 +350,20 @@ data WriterOptions = WriterOptions
349350 , writerNotes :: [Block] -- ^ List of note blocks
350351 } deriving Show
351352
353+-- | Default writer options.
354+defaultWriterOptions =
355+ WriterOptions { writerStandalone = True,
356+ writerHeader = "",
357+ writerTitlePrefix = "",
358+ writerTabStop = 4,
359+ writerNotes = [],
360+ writerS5 = False,
361+ writerIncremental = False,
362+ writerNumberSections = False,
363+ writerIncludeBefore = "",
364+ writerIncludeAfter = "",
365+ writerStrictMarkdown = False }
366+
352367--
353368-- Functions for constructing lists of reference keys
354369--