Removed deprecated toJsonFilter.
Use toJSONFilter from Text.Pandoc.JSON.
This commit is contained in:
parent
87170e2af4
commit
f91a6b541f
1 changed files with 0 additions and 6 deletions
|
@ -378,12 +378,6 @@ getWriter s
|
|||
\o -> r o{ writerExtensions = setExts $
|
||||
getDefaultExtensions writerName }
|
||||
|
||||
{-# DEPRECATED toJsonFilter "Use 'toJSONFilter' from 'Text.Pandoc.JSON' instead" #-}
|
||||
-- | Deprecated. Use @toJSONFilter@ from @Text.Pandoc.JSON@ instead.
|
||||
class ToJSONFilter a => ToJsonFilter a
|
||||
where toJsonFilter :: a -> IO ()
|
||||
toJsonFilter = toJSONFilter
|
||||
|
||||
readJSON :: ReaderOptions -> String -> Either PandocError Pandoc
|
||||
readJSON _ = mapLeft PandocParseError . eitherDecode' . UTF8.fromStringLazy
|
||||
|
||||
|
|
Loading…
Reference in a new issue