From f4365a6d1ef7c02e1f5fe7e19cc19dc2edca77aa Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 24 Oct 2017 17:01:16 -0700 Subject: Changed example in changelog. --- changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog b/changelog index b8dfd25b6..467cf6d83 100644 --- a/changelog +++ b/changelog @@ -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 -- cgit v1.2.3