Skip to content

Commit

Permalink
Options: Added Ext_ascii_identifiers.
Browse files Browse the repository at this point in the history
This will force `Ext_auto_identifiers` to use ASCII only.
Set as default for github markdown.

Note: API change.
  • Loading branch information
jgm committed Apr 24, 2013
1 parent cecceee commit fb237a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Text/Pandoc/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fb237a8

Please sign in to comment.