@@ -29,10 +29,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30Conversion from reStructuredText to 'Pandoc' document.
30Conversion from reStructuredText to 'Pandoc' document.
32−module Text.Pandoc.Readers.RST (
32+module Text.Pandoc.Readers.RST ( readRST ) where
36import Text.Pandoc.Definition
33import Text.Pandoc.Definition
37import Text.Pandoc.Builder (setMeta, fromList)
34import Text.Pandoc.Builder (setMeta, fromList)
38import Text.Pandoc.Shared
35import Text.Pandoc.Shared
@@ -65,12 +62,6 @@ readRST opts s = do
65 Right result -> return result
62 Right result -> return result
66 Left e -> throwError e
63 Left e -> throwError e
68−readRSTWithWarnings :: PandocMonad m
69− => ReaderOptions -- ^ Reader options
70− -> String -- ^ String to parse (assuming @'\n'@ line endings)
72−readRSTWithWarnings = readRST
74type RSTParser m = ParserT [Char] ParserState m
65type RSTParser m = ParserT [Char] ParserState m