remove history option (covered in reveal_options and breaks slide preview navigation in rstudio if set to false)
diff --git a/R/revealjs_presentation.R b/R/revealjs_presentation.R
index 53b3e4f..202e8c7 100644
--- a/R/revealjs_presentation.R
+++ b/R/revealjs_presentation.R
@@ -87,7 +87,6 @@
theme = "simple",
transition = "default",
background_transition = "default",
- history = TRUE,
reveal_options = NULL,
highlight = "default",
mathjax = "default",
@@ -146,9 +145,6 @@
background_transition <- match.arg(background_transition, revealjs_transitions())
args <- c(args, "--variable", paste("backgroundTransition=", background_transition, sep=""))
- # history
- args <- c(args, pandoc_variable_arg("history", jsbool(history)))
-
# additional reveal options
if (is.list(reveal_options)) {
for (option in names(reveal_options)) {
diff --git a/man/revealjs_presentation.Rd b/man/revealjs_presentation.Rd
index 4fc1594..23eda9a 100644
--- a/man/revealjs_presentation.Rd
+++ b/man/revealjs_presentation.Rd
@@ -8,10 +8,9 @@
fig_height = 6, fig_retina = if (!fig_caption) 2, fig_caption = FALSE,
smart = TRUE, self_contained = TRUE, theme = "simple",
transition = "default", background_transition = "default",
- history = TRUE, reveal_options = NULL, highlight = "default",
- mathjax = "default", template = "default", css = NULL,
- includes = NULL, keep_md = FALSE, lib_dir = NULL, pandoc_args = NULL,
- ...)
+ reveal_options = NULL, highlight = "default", mathjax = "default",
+ template = "default", css = NULL, includes = NULL, keep_md = FALSE,
+ lib_dir = NULL, pandoc_args = NULL, ...)
}
\arguments{
\item{incremental}{\code{TRUE} to render slide bullets incrementally. Note
@@ -53,8 +52,6 @@
\item{background_transition}{Slide background-transition ("default", "none", "fade", "slide",
"convex", "concave" or "zoom")}
-\item{history}{\code{TRUE} to push each slide change to the browser history.}
-
\item{reveal_options}{Additional options to specify for reveal.js (see
\href{https://github.com/hakimel/reveal.js#configuration}{https://github.com/hakimel/reveal.js#configuration} for details).}
@@ -88,6 +85,8 @@
\item{pandoc_args}{Additional command line options to pass to pandoc}
\item{...}{Ignored}
+
+\item{history}{\code{TRUE} to push each slide change to the browser history.}
}
\value{
R Markdown output format to pass to \code{\link{render}}