output_format {rmarkdown} | R Documentation |
Define an R Markdown output format based on a combination of knitr and pandoc options.
output_format(knitr, pandoc, keep_md = FALSE, clean_supporting = TRUE, pre_knit = NULL, post_knit = NULL, pre_processor = NULL, intermediates_generator = NULL, post_processor = NULL, base_format = NULL)
knitr |
Knitr options for an output format (see
|
pandoc |
Pandoc options for an output format (see
|
keep_md |
Keep the markdown file generated by knitting. Note that
if this is |
clean_supporting |
Cleanup any supporting files after conversion see
|
pre_knit |
An optional function that runs before kniting which
receives the |
post_knit |
An optional function that runs after kniting which
receives the |
pre_processor |
An optional pre-processor function that receives the
|
intermediates_generator |
An optional function that receives the
original |
post_processor |
An optional post-processor function that receives the
|
base_format |
An optional format to extend. |
An R Markdown output format definition that can be passed to
render
.
render, knitr_options, pandoc_options
## Not run: output_format(knitr = knitr_options(opts_chunk = list(dev = 'png')), pandoc = pandoc_options(to = "html")) ## End(Not run)