From 68c02e1d016cafd5d34437a5e4ef9d8f1badcf86 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 3 Oct 2015 15:32:01 -0700 Subject: For markdown_mmd, add: implicit_figures, superscripts, subscripts. See #2401. --- src/Text/Pandoc/Options.hs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') 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 -- cgit v1.2.3