View source: R/pandoc-template.R
pandoc_export_template | R Documentation |
This correspond to the --print-default-template
CLI flag. With
this function, one can easily export default LaTeX template for example.
pandoc_export_template(format = "markdown", output = NULL, version = "default")
format |
One of Pandoc format using a text template. (e.g html, latex, revealjs) |
output |
Path where to save the file. If not provided, the default, template content will be print to the console. |
version |
Version to use. Default will be the
|
If output
is not provided, the content of the template will be
printed and return as one string (invisibly). If output
is provided, the file path of
the output (invisibly).
pandoc_export_template()
pandoc_export_template("latex", output = "default.tex", version = "system")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.