View source: R/html_document_plain.R
html_document_plain | R Documentation |
This RMarkdown output format provides a minimal HTML5 template and minimal features for including CSS and JavaScript files in the output source.
html_document_plain(
...,
css = "normalize",
script = NULL,
highlight = "haddock",
fig_width = 10,
fig_height = 7,
fig_retina = 2,
keep_md = FALSE,
dev = "png",
pandoc_args = NULL,
extra_dependencies = NULL
)
include_script(head = NULL, before = NULL, after = NULL)
... |
Additional function arguments to pass to the
base R Markdown HTML output formatter |
css |
A list of css files to include in the document's |
script |
A list of |
highlight |
One of the pandoc highlight styles. |
fig_width |
Default width (in inches) for figures |
fig_height |
Default height (in inches) for figures |
fig_retina |
Scaling to perform for retina displays (defaults to 2, which
currently works for all widely used retina displays). Set to |
keep_md |
Keep the markdown file generated by knitting. |
dev |
Graphics device to use for figure output (defaults to png) |
pandoc_args |
Additional command line options to pass to pandoc |
extra_dependencies |
Additional function arguments to pass to the
base R Markdown HTML output formatter |
head , before , after |
A character vector of source files, each to be
included in the |
include_script
: Helper function for including JS scripts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.