git.iko.soy/typeable/pandoc
on master help sign in
For markdown_mmd, add: implicit_figures, superscripts, subscripts.

See #2401.

commit68c02e1d016cafd5d34437a5e4ef9d8f1badcf86 authorJohn MacFarlane <jgm@berkeley.edu> dateSat 3 Oct 2015, 15:32 (11 years ago) parent4443af4
1 file changed+9
src/Text/Pandoc/Options.hs+9
src/Text/Pandoc/Options.hs+9
@@ -224,6 +224,15 @@ multimarkdownExtensions = Set.fromList
224224 , Ext_implicit_header_references
225225 , Ext_auto_identifiers
226226 , Ext_mmd_header_identifiers
227+ , Ext_implicit_figures
228+ -- Note: MMD's syntax for superscripts and subscripts
229+ -- is a bit more permissive than pandoc's, allowing
230+ -- e^2 and a~1 instead of e^2^ and a~1~, so even with
231+ -- these options we don't have full support for MMD
232+ -- superscripts and subscripts, but there's no reason
233+ -- not to include these:
234+ , Ext_superscripts
235+ , Ext_subscripts
227236 ]
228237
229238strictExtensions :: Set Extension