diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-04 11:11:38 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-04 11:11:38 -0800 |
commit | 4b8931108104db71c1bc70fb33c00179a315b6d6 (patch) | |
tree | 0cfcabbb45bb9c1568a695d33c232fff02e8bf69 /src/Text | |
parent | 977a88f92d50602150406fa119c5d6afc6f31732 (diff) | |
download | pandoc-4b8931108104db71c1bc70fb33c00179a315b6d6.tar.gz |
More carefully groom ipynb default extensions.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Extensions.hs | 20 |
1 files changed, 18 insertions, 2 deletions
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] |