git.iko.soy/typeable/pandoc
on master help sign in
For markdown_mmd, add: implicit_figures, superscripts, subscripts.
68c02e1John MacFarlane
src/Text/Pandoc/Options.hs+9
@@ -224,6 +224,15 @@ multimarkdownExtensions = Set.fromList
224 , Ext_implicit_header_references
224 , Ext_implicit_header_references
225 , Ext_auto_identifiers
225 , Ext_auto_identifiers
226 , Ext_mmd_header_identifiers
226 , 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
227 ]
236 ]
228
237
229strictExtensions :: Set Extension
238strictExtensions :: Set Extension