@@ -338,6 +338,29 @@ getDefaultExtensions "plain" = plainExtensions
338getDefaultExtensions "gfm" = githubMarkdownExtensions
338getDefaultExtensions "gfm" = githubMarkdownExtensions
339getDefaultExtensions "commonmark" = extensionsFromList
339getDefaultExtensions "commonmark" = extensionsFromList
340 [Ext_raw_html]
340 [Ext_raw_html]
341+getDefaultExtensions "commonmark_x" = extensionsFromList
344+ , Ext_auto_identifiers
350+ , Ext_raw_tex -- only supported in writer (for math)
352+ , Ext_tex_math_dollars
355+ , Ext_definition_lists
359+ , Ext_bracketed_spans
361+ , Ext_implicit_header_references
341getDefaultExtensions "org" = extensionsFromList
364getDefaultExtensions "org" = extensionsFromList
342 [Ext_citations,
365 [Ext_citations,
343 Ext_auto_identifiers]
366 Ext_auto_identifiers]
@@ -433,10 +456,16 @@ getAllExtensions f = universalExtensions <> getAll f
433 [ Ext_amuse ]
456 [ Ext_amuse ]
434 getAll "asciidoc" = autoIdExtensions
457 getAll "asciidoc" = autoIdExtensions
435 getAll "plain" = allMarkdownExtensions
458 getAll "plain" = allMarkdownExtensions
436− getAll "gfm" = githubMarkdownExtensions <>
459+ getAll "gfm" = getAll "commonmark"
460+ getAll "commonmark" =
437 autoIdExtensions <>
461 autoIdExtensions <>
438 extensionsFromList
462 extensionsFromList
464+ , Ext_autolink_bare_uris
439− [ Ext_raw_html
468+ , Ext_raw_html
440 , Ext_raw_tex -- only supported in writer (for math)
469 , Ext_raw_tex -- only supported in writer (for math)
441 , Ext_implicit_figures
470 , Ext_implicit_figures
442 , Ext_hard_line_breaks
471 , Ext_hard_line_breaks
@@ -453,7 +482,6 @@ getAllExtensions f = universalExtensions <> getAll f
453 , Ext_implicit_header_references
482 , Ext_implicit_header_references
454 , Ext_attributes
483 , Ext_attributes
456− getAll "commonmark" = getAll "gfm"
457 getAll "org" = autoIdExtensions <>
485 getAll "org" = autoIdExtensions <>
458 extensionsFromList
486 extensionsFromList
459 [ Ext_citations
487 [ Ext_citations