summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-03 15:32:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-03 15:32:01 -0700
commit68c02e1d016cafd5d34437a5e4ef9d8f1badcf86 (patch)
treef28b87ab656b62420a4d5f4a3b7845e89b999f0c /src
parent4443af4d8d9d1ac847460c8edd77b4e9d0d9b273 (diff)
For markdown_mmd, add: implicit_figures, superscripts, subscripts.
See #2401.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Options.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs
index 17eb4a15c..09228705e 100644
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
@@ -224,6 +224,15 @@ multimarkdownExtensions = Set.fromList
, Ext_implicit_header_references
, Ext_auto_identifiers
, Ext_mmd_header_identifiers
+ , Ext_implicit_figures
+ -- Note: MMD's syntax for superscripts and subscripts
+ -- is a bit more permissive than pandoc's, allowing
+ -- e^2 and a~1 instead of e^2^ and a~1~, so even with
+ -- these options we don't have full support for MMD
+ -- superscripts and subscripts, but there's no reason
+ -- not to include these:
+ , Ext_superscripts
+ , Ext_subscripts
]
strictExtensions :: Set Extension