ipynb reader: remove sensitivity to raw_html
, raw_tex
extensions.
We now include every output format. Pruning is handled by `--ipynb-output=`.
This commit is contained in:
parent
00ec47b3f9
commit
2476d5f284
1 changed files with 2 additions and 6 deletions
|
@ -184,14 +184,10 @@ handleData opts metadata (MimeBundle mb) =
|
||||||
| otherwise = return mempty
|
| otherwise = return mempty
|
||||||
|
|
||||||
dataBlock ("text/html", TextualData t)
|
dataBlock ("text/html", TextualData t)
|
||||||
| extensionEnabled Ext_raw_html exts
|
= return $ B.rawBlock "html" $ T.unpack t
|
||||||
= return $ B.rawBlock "html" $ T.unpack t
|
|
||||||
| otherwise = return mempty
|
|
||||||
|
|
||||||
dataBlock ("text/latex", TextualData t)
|
dataBlock ("text/latex", TextualData t)
|
||||||
| extensionEnabled Ext_raw_tex exts
|
= return $ B.rawBlock "latex" $ T.unpack t
|
||||||
= return $ B.rawBlock "latex" $ T.unpack t
|
|
||||||
| otherwise = return mempty
|
|
||||||
|
|
||||||
dataBlock ("text/plain", TextualData t) =
|
dataBlock ("text/plain", TextualData t) =
|
||||||
return $ B.codeBlock $ T.unpack t
|
return $ B.codeBlock $ T.unpack t
|
||||||
|
|
Loading…
Add table
Reference in a new issue