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
)
Pandoc format to convert to
Pandoc format to convert from
Character vector of command line arguments to pass to pandoc
Keep the intermediate tex file used in the conversion to PDF (applies only to 'latex' and 'beamer' target formats)
LaTeX engine to producing PDF output (applies only to 'latex' and 'beamer' target formats)
File extension (e.g. ".tex") for output file (if NULL
chooses default based on to
). This is typically used to force
the final output of a latex or beamer conversion to be .tex
rather than .pdf
.
Character vector of file paths to Lua filters to use with
this format. They will be added to pandoc command line call using
--lua-filter
argument. See vignette("lua-filters", package =
"rmarkdown")
to know more about Lua filters.
An list that can be passed as the pandoc
argument of the
output_format
function.
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.