git.iko.soy/typeable/pandoc
on master help sign in
partially undo commit da1e626
8ebf5c5Kolen Cheung
doc/using-the-pandoc-api.md+2−2
@@ -313,10 +313,10 @@ Note that this looks first in the
313users to override the system defaults. If you want to disable
313users to override the system defaults. If you want to disable
314this behavior, use `setUserDataDir Nothing`.
314this behavior, use `setUserDataDir Nothing`.
315
315
316−To render a template, use `renderTemplate`, which takes two
316+To render a template, use `renderTemplate'`, which takes two
317arguments, a template (String) and a context (any instance
317arguments, a template (String) and a context (any instance
318of ToJSON). If you want to create a context from the metadata
318of 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
320[Text.Pandoc.Writers.Shared]. If you also want to incorporate
320[Text.Pandoc.Writers.Shared]. If you also want to incorporate
321values from variables, use `metaToJSON` instead, and make sure
321values from variables, use `metaToJSON` instead, and make sure
322`writerVariables` is set in `WriterOptions`.
322`writerVariables` is set in `WriterOptions`.