git.iko.soy/typeable/pandoc
on master help sign in
partially undo commit da1e626
commit8ebf5c5f45f4ac6b2fb1fea170763faacb773bf6 authorKolen Cheung <christian.kolen@gmail.com> dateThu 26 Oct 2017, 22:27 (9 years ago) parentc03ce0f
1 file changed+2−2
doc/using-the-pandoc-api.md+2−2
doc/using-the-pandoc-api.md+2−2
@@ -313,10 +313,10 @@ Note that this looks first in the
313313users to override the system defaults. If you want to disable
314314this behavior, use `setUserDataDir Nothing`.
315315
316−To render a template, use `renderTemplate`, which takes two
316+To render a template, use `renderTemplate'`, which takes two
317317arguments, a template (String) and a context (any instance
318318of ToJSON). If you want to create a context from the metadata
319−part of a Pandoc document, use `metaToJSON` from
319+part of a Pandoc document, use `metaToJSON'` from
320320[Text.Pandoc.Writers.Shared]. If you also want to incorporate
321321values from variables, use `metaToJSON` instead, and make sure
322322`writerVariables` is set in `WriterOptions`.