From 8f408e4b7b24bfcf0f6a48522a2d77b0b878d34d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 6 Feb 2011 09:27:03 -0800 Subject: Added --ascii option. Currently supported only in HTML writer. --- src/Text/Pandoc/Shared.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text/Pandoc/Shared.hs') diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs index fec04a6c5..c4bc66830 100644 --- a/src/Text/Pandoc/Shared.hs +++ b/src/Text/Pandoc/Shared.hs @@ -490,6 +490,7 @@ data WriterOptions = WriterOptions , writerHtml5 :: Bool -- ^ Produce HTML5 , writerChapters :: Bool -- ^ Use "chapter" for top-level sects , writerListings :: Bool -- ^ Use listings package for code + , writerAscii :: Bool -- ^ Avoid non-ascii characters } deriving Show -- | Default writer options. @@ -522,6 +523,7 @@ defaultWriterOptions = , writerHtml5 = False , writerChapters = False , writerListings = False + , writerAscii = False } -- -- cgit v1.2.3