@@ -33,6 +33,7 @@ module Text.Pandoc.Options ( Extension(..)
3333 , strictExtensions
3434 , phpMarkdownExtraExtensions
3535 , githubMarkdownExtensions
36+ , multimarkdownExtensions
3637 , ReaderOptions(..)
3738 , HTMLMathMethod (..)
3839 , CiteMethod (..)
@@ -85,7 +86,6 @@ data Extension =
8586 | Ext_intraword_underscores -- ^ Treat underscore inside word as literal
8687 | Ext_blank_before_blockquote -- ^ Require blank line before a blockquote
8788 | Ext_blank_before_header -- ^ Require blank line before a header
88− -- | Ext_significant_bullets
8989 | Ext_strikeout -- ^ Strikeout using ~~this~~ syntax
9090 | Ext_superscript -- ^ Superscript using ^this^ syntax
9191 | Ext_subscript -- ^ Subscript using ~this~ syntax
@@ -94,6 +94,7 @@ data Extension =
9494 | Ext_abbreviations -- ^ PHP markdown extra abbreviation definitions
9595 | Ext_auto_identifiers -- ^ Automatic identifiers for headers
9696 | Ext_header_attributes -- ^ Explicit header attributes {#id .class k=v}
97+ | Ext_mmd_header_identifiers -- ^ Multimarkdown style header identifiers [myid]
9798 | Ext_implicit_header_references -- ^ Implicit reference links for headers
9899 | Ext_line_blocks -- ^ RST style line blocks
99100 deriving (Show, Read, Enum, Eq, Ord, Bounded)
@@ -128,7 +129,6 @@ pandocExtensions = Set.fromList
128129 , Ext_intraword_underscores
129130 , Ext_blank_before_blockquote
130131 , Ext_blank_before_header
131− -- , Ext_significant_bullets
132132 , Ext_strikeout
133133 , Ext_superscript
134134 , Ext_subscript
@@ -165,6 +165,22 @@ githubMarkdownExtensions = Set.fromList
165165 , Ext_hard_line_breaks
166166 ]
167167
168+multimarkdownExtensions :: Set Extension
169+multimarkdownExtensions = Set.fromList
170+ [ Ext_pipe_tables
171+ , Ext_raw_html
172+ , Ext_raw_tex
173+ , Ext_tex_math_double_backslash
174+ , Ext_intraword_underscores
175+ , Ext_mmd_title_block
176+ , Ext_footnotes
177+ , Ext_definition_lists
178+ , Ext_all_symbols_escapable
179+ , Ext_implicit_header_references
180+ , Ext_auto_identifiers
181+ , Ext_mmd_header_identifiers
182+ ]
183+
168184strictExtensions :: Set Extension
169185strictExtensions = Set.fromList
170186 [ Ext_raw_html ]