revealjs_presentation(incremental = FALSE, center = FALSE, slide_level = 2, fig_width = 8, fig_height = 6, fig_retina = if (!fig_caption) 2, fig_caption = FALSE, smart = TRUE, self_contained = TRUE, theme = "simple", transition = "default", background_transition = "default", reveal_options = NULL, reveal_plugins = NULL, highlight = "default", mathjax = "default", template = "default", css = NULL, includes = NULL, keep_md = FALSE, lib_dir = NULL, pandoc_args = NULL, extra_dependencies = NULL, ...)TRUE to render slide bullets incrementally. Note
that if you want to reverse the default incremental behavior for an
individual bullet you can precede it with >. For example:
> - Bullet TextTRUE to vertically center content on slidesslide_level is 2 (the default), a two-dimensional layout will be
produced, with level 1 headers building horizontally and level 2 headers
building vertically. It is not recommended that you use deeper nesting of
section levels with reveal.js.NULL to
prevent retina scaling. Note that this will always be NULL when
keep_md is specified (this is because fig_retina relies on
outputting HTML directly into the markdown document).TRUE to render figures with captionsself_contained must be set to 
FALSE in order to use Reveal plugins.NULL to prevent syntax highlighting.NULL to exclude MathJax entirely.NULL to use pandoc's
built-in template; pass a path to use a custom template that you've
created. Note that if you don't use the "default" template then some
features of revealjs_presentation won't be available (see the
Templates section below for more details).includes function)._files appended to it.latex_dependency() dependencies. It can
can be used to add custom LaTeX packages to the .tex header.render
For additional documentation on using revealjs presentations see https://github.com/rstudio/revealjs.
## Not run: 
# 
# library(rmarkdown)
# library(revealjs)
# 
# # simple invocation
# render("pres.Rmd", revealjs_presentation())
# 
# # specify an option for incremental rendering
# render("pres.Rmd", revealjs_presentation(incremental = TRUE))
# ## End(Not run)
Run the code above in your browser using DataLab