ability to specify slideNumber reveal_option as either string or boolean
diff --git a/R/revealjs_presentation.R b/R/revealjs_presentation.R
index 99174c7..1ad46fc 100644
--- a/R/revealjs_presentation.R
+++ b/R/revealjs_presentation.R
@@ -142,6 +142,8 @@
value <- reveal_options[[option]]
if (is.logical(value))
value <- jsbool(value)
+ else if (is.character(value))
+ value <- paste0("'", value, "'")
args <- c(args, pandoc_variable_arg(option, value))
}
}
diff --git a/inst/NEWS b/inst/NEWS
index 94d696e..3e3e8b6 100644
--- a/inst/NEWS
+++ b/inst/NEWS
@@ -9,6 +9,8 @@
- Support for zoom, search, and notes reveal.js plugins
+- Ability to specify slideNumber reveal_option as either string or boolean
+
Version 0.6
-----------------------------------------------------------------------