diff options
author | Kolen Cheung <ickc@users.noreply.github.com> | 2021-09-10 09:26:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 09:26:55 -0700 |
commit | 1481dae629b97c5b7ad28cd162e22a52c7647784 (patch) | |
tree | 022466f1d0db82884a0075718c9e01a4533227ed /src | |
parent | 37e30560ad546055d17f56df468cd35976b3218a (diff) | |
download | pandoc-1481dae629b97c5b7ad28cd162e22a52c7647784.tar.gz |
Ipynb reader handleData: support text/markdown (#7561)
`text/markdown` is now a supported mime type for raw output.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/Ipynb.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Ipynb.hs b/src/Text/Pandoc/Readers/Ipynb.hs index cd1093109..9d46111c3 100644 --- a/src/Text/Pandoc/Readers/Ipynb.hs +++ b/src/Text/Pandoc/Readers/Ipynb.hs @@ -192,6 +192,9 @@ handleData metadata (MimeBundle mb) = dataBlock ("text/latex", TextualData t) = return $ B.rawBlock "latex" t + dataBlock ("text/markdown", TextualData t) + = return $ B.rawBlock "markdown" t + dataBlock ("text/plain", TextualData t) = return $ B.codeBlock t |