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
|
||||
|
||||
dataBlock ("text/html", TextualData t)
|
||||
| extensionEnabled Ext_raw_html exts
|
||||
= return $ B.rawBlock "html" $ T.unpack t
|
||||
| otherwise = return mempty
|
||||
= return $ B.rawBlock "html" $ T.unpack t
|
||||
|
||||
dataBlock ("text/latex", TextualData t)
|
||||
| extensionEnabled Ext_raw_tex exts
|
||||
= return $ B.rawBlock "latex" $ T.unpack t
|
||||
| otherwise = return mempty
|
||||
= return $ B.rawBlock "latex" $ T.unpack t
|
||||
|
||||
dataBlock ("text/plain", TextualData t) =
|
||||
return $ B.codeBlock $ T.unpack t
|
||||
|
|
Loading…
Reference in a new issue