Use the pandoc templating engine to render a text file. Substitutions are
done using the metadata
list passed to the function.
pandoc_template(metadata, template, output, verbose = FALSE)
metadata | A named list containing metadata to pass to template. |
---|---|
template | Path to a pandoc template. |
output | Path to save output. |
verbose |
|
(Invisibly) The path of the generated file.