background-transition
diff --git a/R/revealjs_presentation.R b/R/revealjs_presentation.R
index e67149c..e16e6d3 100644
--- a/R/revealjs_presentation.R
+++ b/R/revealjs_presentation.R
@@ -80,6 +80,7 @@
self_contained = TRUE,
theme = "default",
transition = "default",
+ background_transition = "default",
highlight = "default",
mathjax = "default",
template = "default",
@@ -128,6 +129,10 @@
transition <- match.arg(transition, revealjs_transitions())
args <- c(args, "--variable", paste("transition=", transition, sep=""))
+ # background_transition
+ background_transition <- match.arg(background_transition, revealjs_transitions())
+ args <- c(args, "--variable", paste("background_transition=", background_transition, sep=""))
+
# content includes
args <- c(args, includes_to_pandoc_args(includes))