Description Usage Arguments Value Examples
View source: R/pandoc_template.R
This is a hacky way to access the pandoc templating engine.
1 | template_pandoc(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. |
(Invisibly) The path of the generate file.
1 2 3 4 5 6 | x <- rticles:::template_pandoc(
list(preamble = "%abc", filename = "wickham"),
rticles:::find_resource("rjournal_article", "RJwrapper.tex"),
tempfile()
)
if (interactive()) file.show(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.