@@ -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