View source: R/output_format.R
pandoc_options | R Documentation |
Define the pandoc options for an R Markdown output format.
pandoc_options(
to,
from = rmarkdown_format(),
args = NULL,
keep_tex = FALSE,
latex_engine = c("pdflatex", "lualatex", "xelatex", "tectonic"),
ext = NULL,
lua_filters = NULL,
convert_fun = NULL
)
to |
Pandoc format to convert to |
from |
Pandoc format to convert from |
args |
Character vector of command line arguments to pass to pandoc |
keep_tex |
Keep the intermediate tex file used in the conversion to PDF (applies only to 'latex' and 'beamer' target formats) |
latex_engine |
LaTeX engine to producing PDF output (applies only to 'latex' and 'beamer' target formats) |
ext |
File extension (e.g. ".tex") for output file (if |
lua_filters |
Character vector of file paths to Lua filters to use with
this format. They will be added to pandoc command line call using
|
convert_fun |
A function to convert the input file to the desired output
format in |
The from
argument should be used very cautiously as it's important for
users to be able to rely on a stable definition of supported markdown
extensions.
An list that can be passed as the pandoc
argument of the
output_format
function.
output_format, rmarkdown_format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.