Description Usage Arguments Details Value
Format for converting from R Markdown to a stack.js presentation.
1 2 3 4 5 |
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 when
|
fig_caption |
|
smart |
Produce typographically correct output, converting straight quotes to curly quotes, — to em-dashes, – to en-dashes, and ... to ellipses. |
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). |
theme |
"light" or "dark" for black text on white background and white text on black background. |
highlight |
Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso",
"zenburn", "haddock", and "textmate". Pass |
mathjax |
Include mathjax. The "default" option uses an https URL from
the official 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 |
template |
Pandoc template to use for rendering. Pass "default"
to use the rmarkdown package default template; pass |
css |
One or more css files to include |
keep_md |
Keep intermediate markdown generated by knitr |
lib_dir |
Directory to copy dependent HTML libraries (e.g. jquery,
bootstrap, etc.) into. By default this will be the name of the document
with |
pandoc_args |
Additional command line options to pass to pandoc |
... |
Additional function arguments to pass to the base R Markdown HTML output formatter |
In stack.js presentations you can use headers for slides.
For more information on markdown syntax for presentations see producing slide shows with pandoc.
R Markdown output format to pass to render
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.