@@ -133,6 +133,7 @@ data Extension =
133133 | Ext_raw_attribute -- ^ Allow explicit raw blocks/inlines
134134 | Ext_raw_html -- ^ Allow raw HTML
135135 | Ext_raw_tex -- ^ Allow raw TeX (other than math)
136+ | Ext_raw_markdown -- ^ Parse markdown in ipynb as raw markdown
136137 | Ext_shortcut_reference_links -- ^ Shortcut reference links
137138 | Ext_simple_tables -- ^ Pandoc-style simple tables
138139 | Ext_smart -- ^ "Smart" quotes, apostrophes, ellipses, dashes
@@ -442,7 +443,8 @@ getAllExtensions f = universalExtensions <> getAll f
442443 getAll "markdown_mmd" = allMarkdownExtensions
443444 getAll "markdown_github" = allMarkdownExtensions
444445 getAll "markdown" = allMarkdownExtensions
445− getAll "ipynb" = allMarkdownExtensions
446+ getAll "ipynb" = allMarkdownExtensions <> extensionsFromList
447+ [ Ext_raw_markdown ]
446448 getAll "docx" = extensionsFromList
447449 [ Ext_empty_paragraphs
448450 , Ext_styles