Text.Pandoc.Options: add writerPreferAscii to WriterOptions.
[API change]
This commit is contained in:
parent
59a770e6e9
commit
0a8d212a09
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue