From 4b8931108104db71c1bc70fb33c00179a315b6d6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 4 Feb 2019 11:11:38 -0800 Subject: More carefully groom ipynb default extensions. --- src/Text/Pandoc/Extensions.hs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Extensions.hs b/src/Text/Pandoc/Extensions.hs index 2ca09aa17..68d7e8530 100644 --- a/src/Text/Pandoc/Extensions.hs +++ b/src/Text/Pandoc/Extensions.hs @@ -332,8 +332,24 @@ getDefaultExtensions "markdown_phpextra" = phpMarkdownExtraExtensions getDefaultExtensions "markdown_mmd" = multimarkdownExtensions getDefaultExtensions "markdown_github" = githubMarkdownExtensions getDefaultExtensions "markdown" = pandocExtensions -getDefaultExtensions "ipynb" = enableExtension Ext_tex_math_dollars - githubMarkdownExtensions +getDefaultExtensions "ipynb" = + extensionsFromList + [ Ext_all_symbols_escapable + , Ext_pipe_tables + , Ext_raw_html + , Ext_fenced_code_blocks + , Ext_auto_identifiers + , Ext_gfm_auto_identifiers + , Ext_backtick_code_blocks + , Ext_autolink_bare_uris + , Ext_space_in_atx_header + , Ext_intraword_underscores + , Ext_strikeout + , Ext_task_lists + , Ext_lists_without_preceding_blankline + , Ext_shortcut_reference_links + , Ext_tex_math_dollars + ] getDefaultExtensions "muse" = extensionsFromList [Ext_amuse, Ext_auto_identifiers] -- cgit v1.2.3