Changed example in changelog.

This commit is contained in:
John MacFarlane
2017-10-24 17:01:48 -07:00
parent 8c0c4f954d
commit f4365a6d1e
+2 -2
View File
@@ -653,9 +653,9 @@ pandoc (2.0)
(for include files, for example); if `runPure` is used,
then the functions are pure and will not touch IO.
+ Where previously you used
`writeHtmlString def (readMarkdown def "*foo*")`, now you
`writeRST def (readMarkdown def "[foo](url)")`, now you
would use
`runPure $ readMarkdown def "*foo*" >>= writeHtmlString def`.
`runPure $ readMarkdown def (pack "[foo](url)") >>= writeRST def`.
* New module `Text.Pandoc.Readers` (Albert Krewinkel). This
contains reader helper functions formerly defined in the