@@ -30,8 +30,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31Conversion of markdown-formatted plain text to 'Pandoc' document.
31Conversion of markdown-formatted plain text to 'Pandoc' document.
33−module Text.Pandoc.Readers.Markdown ( readMarkdown,
33+module Text.Pandoc.Readers.Markdown ( readMarkdown ) where
34− readMarkdownWithWarnings ) where
36import Data.List ( transpose, sortBy, findIndex, intercalate )
35import Data.List ( transpose, sortBy, findIndex, intercalate )
37import qualified Data.Map as M
36import qualified Data.Map as M
@@ -84,14 +83,6 @@ readMarkdown opts s = do
84 Right result -> return result
83 Right result -> return result
85 Left e -> throwError e
84 Left e -> throwError e
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)
93−readMarkdownWithWarnings = readMarkdown
95trimInlinesF :: F Inlines -> F Inlines
86trimInlinesF :: F Inlines -> F Inlines
96trimInlinesF = liftM trimInlines
87trimInlinesF = liftM trimInlines