@@ -338,6 +338,29 @@ getDefaultExtensions "plain" = plainExtensions
338338getDefaultExtensions "gfm" = githubMarkdownExtensions
339339getDefaultExtensions "commonmark" = extensionsFromList
340340 [Ext_raw_html]
341+getDefaultExtensions "commonmark_x" = extensionsFromList
342+ [ Ext_pipe_tables
343+ , Ext_raw_html
344+ , Ext_auto_identifiers
345+ , Ext_strikeout
346+ , Ext_task_lists
347+ , Ext_emoji
348+ , Ext_pipe_tables
349+ , Ext_raw_html
350+ , Ext_raw_tex -- only supported in writer (for math)
351+ , Ext_smart
352+ , Ext_tex_math_dollars
353+ , Ext_superscript
354+ , Ext_subscript
355+ , Ext_definition_lists
356+ , Ext_footnotes
357+ , Ext_fancy_lists
358+ , Ext_fenced_divs
359+ , Ext_bracketed_spans
360+ , Ext_raw_attribute
361+ , Ext_implicit_header_references
362+ , Ext_attributes
363+ ]
341364getDefaultExtensions "org" = extensionsFromList
342365 [Ext_citations,
343366 Ext_auto_identifiers]
@@ -433,10 +456,16 @@ getAllExtensions f = universalExtensions <> getAll f
433456 [ Ext_amuse ]
434457 getAll "asciidoc" = autoIdExtensions
435458 getAll "plain" = allMarkdownExtensions
436− getAll "gfm" = githubMarkdownExtensions <>
459+ getAll "gfm" = getAll "commonmark"
460+ getAll "commonmark" =
437461 autoIdExtensions <>
438462 extensionsFromList
439− [ Ext_raw_html
463+ [ Ext_pipe_tables
464+ , Ext_autolink_bare_uris
465+ , Ext_strikeout
466+ , Ext_task_lists
467+ , Ext_emoji
468+ , Ext_raw_html
440469 , Ext_raw_tex -- only supported in writer (for math)
441470 , Ext_implicit_figures
442471 , Ext_hard_line_breaks
@@ -453,7 +482,6 @@ getAllExtensions f = universalExtensions <> getAll f
453482 , Ext_implicit_header_references
454483 , Ext_attributes
455484 ]
456− getAll "commonmark" = getAll "gfm"
457485 getAll "org" = autoIdExtensions <>
458486 extensionsFromList
459487 [ Ext_citations