move embedded reveal into it's own directory
diff --git a/R/revealjs_presentation.R b/R/revealjs_presentation.R
index 82691b2..6f8d74b 100644
--- a/R/revealjs_presentation.R
+++ b/R/revealjs_presentation.R
@@ -95,7 +95,7 @@
# function to lookup reveal resource
reveal_resources <- function() {
- system.file("rmarkdown/templates/revealjs_presentation",
+ system.file("rmarkdown/templates/revealjs_presentation/resources",
package = "revealjs")
}
@@ -156,7 +156,7 @@
args <- c()
# reveal.js
- revealjs_path <- reveal_resources()
+ revealjs_path <- file.path(reveal_resources(), "reveal-3.0.0")
if (!self_contained || identical(.Platform$OS.type, "windows"))
revealjs_path <- relative_to(
output_dir, render_supporting_files(revealjs_path, lib_dir))