git.iko.soy/typeable/pandoc
on master help sign in
Text.Pandoc.Options: add writerPreferAscii to WriterOptions.

[API change]

commit0a8d212a097267cafc4cd5a64691b8e85aadb5c3 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 30 Sep 2018, 21:09 (8 years ago) parent59a770e
1 file changed+2
src/Text/Pandoc/Options.hs+2
src/Text/Pandoc/Options.hs+2
@@ -194,6 +194,7 @@ data WriterOptions = WriterOptions
194194 , writerReferenceDoc :: Maybe FilePath -- ^ Path to reference document if specified
195195 , writerReferenceLocation :: ReferenceLocation -- ^ Location of footnotes and references for writing markdown
196196 , writerSyntaxMap :: SyntaxMap
197+ , writerPreferAscii :: Bool -- ^ Prefer ASCII representations of characters when possible
197198 } deriving (Show, Data, Typeable, Generic)
198199
199200instance Default WriterOptions where
@@ -228,6 +229,7 @@ instance Default WriterOptions where
228229 , writerReferenceDoc = Nothing
229230 , writerReferenceLocation = EndOfDocument
230231 , writerSyntaxMap = defaultSyntaxMap
232+ , writerPreferAscii = False
231233 }
232234
233235instance HasSyntaxExtensions WriterOptions where