diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-09-30 21:09:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-09-30 21:09:06 -0700 |
commit | 0a8d212a097267cafc4cd5a64691b8e85aadb5c3 (patch) | |
tree | 190929c1147701b1ede67558ea4cefebdcc69c8c /src | |
parent | 59a770e6e95af108cedf92a1b6f00c25f0a76c38 (diff) | |
download | pandoc-0a8d212a097267cafc4cd5a64691b8e85aadb5c3.tar.gz |
Text.Pandoc.Options: add writerPreferAscii to WriterOptions.
[API change]
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Options.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs index e5ca1764c..204060d70 100644 --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -194,6 +194,7 @@ data WriterOptions = WriterOptions , writerReferenceDoc :: Maybe FilePath -- ^ Path to reference document if specified , writerReferenceLocation :: ReferenceLocation -- ^ Location of footnotes and references for writing markdown , writerSyntaxMap :: SyntaxMap + , writerPreferAscii :: Bool -- ^ Prefer ASCII representations of characters when possible } deriving (Show, Data, Typeable, Generic) instance Default WriterOptions where @@ -228,6 +229,7 @@ instance Default WriterOptions where , writerReferenceDoc = Nothing , writerReferenceLocation = EndOfDocument , writerSyntaxMap = defaultSyntaxMap + , writerPreferAscii = False } instance HasSyntaxExtensions WriterOptions where |