summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKolen Cheung <christian.kolen@gmail.com>2017-10-26 22:27:14 -0700
committerKolen Cheung <christian.kolen@gmail.com>2017-10-26 22:27:14 -0700
commit8ebf5c5f45f4ac6b2fb1fea170763faacb773bf6 (patch)
tree97ffbd9a7bac327ca951d7c1e90494bb3d8bc606 /doc
parentc03ce0f1cbb7220f5e19e505dd85c85a3a39480f (diff)
partially undo commit da1e626
Diffstat (limited to 'doc')
-rw-r--r--doc/using-the-pandoc-api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/using-the-pandoc-api.md b/doc/using-the-pandoc-api.md
index 0caae977b..a09cc81aa 100644
--- a/doc/using-the-pandoc-api.md
+++ b/doc/using-the-pandoc-api.md
@@ -313,10 +313,10 @@ Note that this looks first in the
users to override the system defaults. If you want to disable
this behavior, use `setUserDataDir Nothing`.
-To render a template, use `renderTemplate`, which takes two
+To render a template, use `renderTemplate'`, which takes two
arguments, a template (String) and a context (any instance
of ToJSON). If you want to create a context from the metadata
-part of a Pandoc document, use `metaToJSON` from
+part of a Pandoc document, use `metaToJSON'` from
[Text.Pandoc.Writers.Shared]. If you also want to incorporate
values from variables, use `metaToJSON` instead, and make sure
`writerVariables` is set in `WriterOptions`.