html document including some tools.
1 2 3 4 5 6 | zousan_document(fig_width = 7, fig_height = 5, fig_retina = 2,
fig_caption = TRUE, self_contained = FALSE, dev = "png",
keep_md = FALSE, mathjax = "default",
md_extensions = "-ascii_identifiers", template = "default",
katex = FALSE, lightbox = TRUE, showhide = TRUE, bs_panel = TRUE,
bs_label = TRUE, bs_badge = TRUE, list_addclass = TRUE, ...)
|
fig_width |
Default width (in inches) for figures |
fig_height |
Default width (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 |
fig_caption |
|
self_contained |
Produce a standalone HTML file with no external dependencies, using data: URIs to incorporate the contents of linked scripts, stylesheets, images, and videos. Note that even for self contained documents MathJax is still loaded externally (this is necessary because of it's size). |
dev |
Graphics device to use for figure output (defaults to png) |
keep_md |
Keep the markdown file generated by knitting. |
mathjax |
Include mathjax. The "default" option uses an https URL from a
MathJax CDN. The "local" option uses a local version of MathJax (which is
copied into the output directory). You can pass an alternate URL or pass
|
md_extensions |
Markdown extensions to be added or removed from the
default definition or R Markdown. See the |
template |
Pandoc template to use for rendering. Pass "default" to use
the rmarkdown package default template; pass |
katex |
Logical. If TRUE, then use katex instead of mathjax. |
lightbox |
Logical. If TRUE, then set lightbox automatically. |
showhide |
Logical. If TRUE, you could set show/hide button. |
bs_panel |
Logical. If TRUE, you could use Bootstrap panel. |
bs_label |
Logical. If TRUE, you could use Bootstrap label. |
bs_badge |
Logical. If TRUE, you could use Bootstrap badge. |
list_addclass |
Logical. If TRUE, you could add selector class to ul/ol list. |
... |
Additional function arguments to pass to the
base R Markdown HTML output formatter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.