R/pandoc.R
pandoc_template.Rd
Use the pandoc templating engine to render a text file. Substitutions are done using the metadata list passed to the function.
metadata
pandoc_template(metadata, template, output, verbose = FALSE)
A named list containing metadata to pass to template.
Path to a pandoc template.
Path to save output.
TRUE to show the pandoc command line which was executed.
TRUE
(Invisibly) The path of the generated file.