diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-24 17:01:16 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-24 17:01:48 -0700 |
commit | f4365a6d1ef7c02e1f5fe7e19cc19dc2edca77aa (patch) | |
tree | b01e358aa17c23b49ec4b62fb9a074fac8d4a770 | |
parent | 8c0c4f954d21369eef6ec4b1cfb387603e91e985 (diff) | |
download | pandoc-f4365a6d1ef7c02e1f5fe7e19cc19dc2edca77aa.tar.gz |
Changed example in changelog.
-rw-r--r-- | changelog | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |