aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc.hs')
-rw-r--r--src/Text/Pandoc.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs
index a302be8f4..826862dee 100644
--- a/src/Text/Pandoc.hs
+++ b/src/Text/Pandoc.hs
@@ -40,9 +40,9 @@ inline links:
> import Text.Pandoc.Error (handleError)
>
> markdownToRST :: String -> String
-> markdownToRST = handleError .
+> markdownToRST =
> writeRST def {writerReferenceLinks = True} .
-> readMarkdown def
+> handleError . readMarkdown def
>
> main = getContents >>= putStrLn . markdownToRST