still use pandoc_path_arg when not on windows
diff --git a/R/revealjs_presentation.R b/R/revealjs_presentation.R
index 84de806..73be09d 100644
--- a/R/revealjs_presentation.R
+++ b/R/revealjs_presentation.R
@@ -196,6 +196,8 @@
if (!self_contained || identical(.Platform$OS.type, "windows"))
revealjs_path <- relative_to(
output_dir, render_supporting_files(revealjs_path, lib_dir))
+ else
+ revealjs_path <- pandoc_path_arg(revealjs_path)
args <- c(args, "--variable", paste0("revealjs-url=", revealjs_path))
# highlight