From fb237a8b15caa900fa5bf07e0ce8abb7820fcaac Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 23 Apr 2013 20:10:27 -0700 Subject: Options: Added `Ext_ascii_identifiers`. This will force `Ext_auto_identifiers` to use ASCII only. Set as default for github markdown. Note: API change. --- src/Text/Pandoc/Options.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs index 6549c506b..4eb527b6e 100644 --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -94,6 +94,7 @@ data Extension = | Ext_literate_haskell -- ^ Enable literate Haskell conventions | Ext_abbreviations -- ^ PHP markdown extra abbreviation definitions | Ext_auto_identifiers -- ^ Automatic identifiers for headers + | Ext_ascii_identifiers -- ^ ascii-only identifiers for headers | Ext_header_attributes -- ^ Explicit header attributes {#id .class k=v} | Ext_mmd_header_identifiers -- ^ Multimarkdown style header identifiers [myid] | Ext_implicit_header_references -- ^ Implicit reference links for headers @@ -159,6 +160,8 @@ githubMarkdownExtensions = Set.fromList , Ext_tex_math_single_backslash , Ext_fenced_code_blocks , Ext_fenced_code_attributes + , Ext_auto_identifiers + , Ext_ascii_identifiers , Ext_backtick_code_blocks , Ext_autolink_bare_uris , Ext_intraword_underscores -- cgit v1.2.3