Description Usage Arguments See Also Examples
Shower is a vanilla HTML/CSS/JS presentation engine.
1 2 3 4 5 6 | shower_presentation(theme = c("ribbon", "material"), ratio = c("4x3",
"16x10"), katex = FALSE, incremental = FALSE, fig_width = 8,
fig_height = 4.9, fig_retina = if (!fig_caption) 2, fig_caption = FALSE,
smart = TRUE, self_contained = TRUE, highlight = "default",
template = "default", css = NULL, includes = NULL, keep_md = FALSE,
lib_dir = NULL, pandoc_args = NULL, ...)
|
theme |
Theme to use. The default theme is ‘ribbon’. The ‘material’ theme is an alternative. |
ratio |
Slide ratio to use. It can be ‘4x3’ or ‘16x10’. |
katex |
Whether to include KaTeX support. It is turned off by default. See https://github.com/Khan/KaTeX for more about KaTeX. |
incremental |
|
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 |
|
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). |
highlight |
Syntax highlighting style. Supported styles include
"default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn",
"haddock", and "textmate". 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 |
includes |
Named list of additional content to include within the
document (typically created using the |
keep_md |
Keep the markdown file generated by knitting. |
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 |
... |
Extra arguments, passed to |
https://github.com/shower/shower
1 2 3 4 | ## Not run:
rmarkdown::render("presentation.Rmd")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.