Ipynb reader handleData: support text/markdown (#7561)

`text/markdown` is now a supported mime type for raw output.
This commit is contained in:
Kolen Cheung 2021-09-10 09:26:55 -07:00 committed by GitHub
parent 37e30560ad
commit 1481dae629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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