commit | a075efe27bb5cfe11ab3ddefb7a01aa8ccbaff4f | [log] [tgz] |
---|---|---|
author | JJ Allaire <jj@rstudio.org> | Thu Jul 14 21:24:12 2016 -0400 |
committer | JJ Allaire <jj@rstudio.org> | Thu Jul 14 21:24:12 2016 -0400 |
tree | 804dc410b420cad98e34e44ae6e023ad32a68d37 | |
parent | 7da10b5e37105ec9545f30c8473d6dcbba158cb0 [diff] |
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)) } }