Ipynb reader handleData: support text/markdown (#7561)
`text/markdown` is now a supported mime type for raw output.
This commit is contained in:
parent
37e30560ad
commit
1481dae629
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue