reveal.js(theme = "default", transition = "default", in.file = NULL, out.dir = path, ref.page = "References", refs.cex = 15, path = file.path(getwd(), "PRESENTATION"), figure.dir = "figure", hi.cex = 25)
"sky"
,
"beige"
, "simple"
, "serif"
,
"night"
, "default"
)."default"
, "cube"
, "page"
,
"concave"
, "zoom"
, "linear"
,
"fade"
, "none"
).NULL
references slide will not be adjusted. If reference title
is not found a warning will print.in.file
and
out.file
. Paths can be supplied to in.file
and out.file
by setting path
to
NULL
.hi
code chunk is used.Uses http://johnmacfarlane.net/pandoc/ to convert md to HTML5 reveal.js slides and provides minor modifications (e.g., embedded youtube and hanging indent text, etc.).
Outputs a directory, revel_js, with an index.html and necessary reveal.js files. The user must have Pandoc installed and on their path. Pandoc can be installed from: http://johnmacfarlane.net/pandoc/installing.html
The following convenience code chunks are implemented:
bg-soothe
, bg-blackout
, bg-alert
,
red
, orange
, yellow
,
green
, blue
, indigo
, violet
,
or brown
. [[[]]]=frag-
and last a fragment style. Valid
styles include: grow
, shrink
,
roll-in
, fade-out
, highlight-red
,
highlight-green
, or highlight-blue
.
hi.cex
to
control the font size of the text. reports based code chunks are for convenience. For more control many HTML tags work with Rmarkdown. The output code can also be manipulated for finer control.
## Not run: # #Run after running knitr on an Rmd file# reveal.js() #assumes location of html file out of the box# # # An example .Rmd file can be found:# system.file("extdata/docs/example.Rmd", package = "reports")# ## End(Not run)
html5