mirror of
https://github.com/srid/rib.git
synced 2024-11-26 13:50:31 +03:00
Add ipynb
This commit is contained in:
parent
6c6439c87c
commit
ff60b350e0
@ -178,14 +178,15 @@ detectReader f = do
|
||||
liftEither $ maybeToRight (UnknownExtension ext) $
|
||||
formats !? ext
|
||||
where
|
||||
-- TODO: This should compute using `Text.Pandoc.Readers.readers`
|
||||
formats :: Map String (ReaderOptions -> Text -> m1 Pandoc)
|
||||
formats =
|
||||
-- TODO: Expand this list, cf. `Text.Pandoc.Readers.readers`
|
||||
fromList
|
||||
[ (".md", readMarkdown),
|
||||
(".rst", readRST),
|
||||
(".org", readOrg),
|
||||
(".tex", readLaTeX)
|
||||
(".tex", readLaTeX),
|
||||
(".ipynb", readIpynb)
|
||||
]
|
||||
-- Re-constrain code constrained by MonadThrow to be constrained by
|
||||
-- MonadError instead.
|
||||
|
Loading…
Reference in New Issue
Block a user