Description Usage Arguments Value See Also Examples
View source: R/output_format.R
Define an R Markdown output format based on a combination of knitr and pandoc options.
1 2 3 |
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_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
1 2 3 4 5 | ## Not run:
output_format(knitr = knitr_options(opts_chunk = list(dev = 'png')),
pandoc = pandoc_options(to = "html"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.