mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-23 08:46:56 +00:00
partially undo commit da1e626
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user