aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-04-23 20:10:27 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-04-23 20:40:05 -0700
commitfb237a8b15caa900fa5bf07e0ce8abb7820fcaac (patch)
tree5ff3ce7d78f51eec3df821286fd1b934c958fef4 /src/Text
parentcecceee0d38109ea8846b8369bb5d85ac0491bf8 (diff)
downloadpandoc-fb237a8b15caa900fa5bf07e0ce8abb7820fcaac.tar.gz
Options: Added `Ext_ascii_identifiers`.
This will force `Ext_auto_identifiers` to use ASCII only. Set as default for github markdown. Note: API change.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Options.hs3
1 files changed, 3 insertions, 0 deletions
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