git.iko.soy/typeable/pandoc
on master help sign in
Markdown reader: Removed readMarkdownWithWarnings [API change].
commit931528dba65529fdb948ec58d13fcd43f93b8c00 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 5 Dec 2016, 11:38 (10 years ago) parent8753a91
1 file changed+1−10
src/Text/Pandoc/Readers/Markdown.hs+1−10
src/Text/Pandoc/Readers/Markdown.hs+1−10
@@ -30,8 +30,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3030
3131Conversion of markdown-formatted plain text to 'Pandoc' document.
3232-}
33−module Text.Pandoc.Readers.Markdown ( readMarkdown,
34− readMarkdownWithWarnings ) where
33+module Text.Pandoc.Readers.Markdown ( readMarkdown ) where
3534
3635import Data.List ( transpose, sortBy, findIndex, intercalate )
3736import qualified Data.Map as M
@@ -84,14 +83,6 @@ readMarkdown opts s = do
8483 Right result -> return result
8584 Left e -> throwError e
8685
87−-- | Read markdown from an input string and return a pair of a Pandoc document
88−-- and a list of warnings.
89−readMarkdownWithWarnings :: PandocMonad m
90− => ReaderOptions -- ^ Reader options
91− -> String -- ^ String to parse (assuming @'\n'@ line endings)
92− -> m Pandoc
93−readMarkdownWithWarnings = readMarkdown
94−
9586trimInlinesF :: F Inlines -> F Inlines
9687trimInlinesF = liftM trimInlines
9788