@@ -58,6 +58,7 @@ module Text.Pandoc.Shared (
58 compactify,
58 compactify,
59 generateReference,
59 generateReference,
60 WriterOptions (..),
60 WriterOptions (..),
61+ defaultWriterOptions,
63 lookupKeySrc,
64 lookupKeySrc,
@@ -349,6 +350,20 @@ data WriterOptions = WriterOptions
349 , writerNotes :: [Block] -- ^ List of note blocks
350 , writerNotes :: [Block] -- ^ List of note blocks
350 } deriving Show
351 } deriving Show
353+-- | Default writer options.
354+defaultWriterOptions =
355+ WriterOptions { writerStandalone = True,
357+ writerTitlePrefix = "",
361+ writerIncremental = False,
362+ writerNumberSections = False,
363+ writerIncludeBefore = "",
364+ writerIncludeAfter = "",
365+ writerStrictMarkdown = False }
353-- Functions for constructing lists of reference keys
368-- Functions for constructing lists of reference keys