From db43e71816f2cba39952cf3aaeef18370128b212 Mon Sep 17 00:00:00 2001 From: "Zhian N. Kamvar" Date: Mon, 21 Jun 2021 18:41:47 -0700 Subject: [PATCH] Fix standalone mode for the useR theme (#327) fix #326 --- DESCRIPTION | 1 + NEWS.md | 2 ++ inst/rmarkdown/templates/xaringan/resources/useR.css | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5977172..f9724ba 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -33,6 +33,7 @@ Authors@R: c( person("Waldir", "Leoncio", role = "ctb", email = "w.l.netto@medisin.uio.no"), person("Yongfu", "Liao", role = "ctb"), person("Yue", "Jiang", role = "ctb", comment = c(ORCID = "0000-0002-9798-5517")), + person(c("Zhian", "N."), "Kamvar", role = c("ctb"), email = "zkamvar@gmail.com", comment = c(ORCID = "0000-0003-1458-7108")), person() ) Description: Create HTML5 slides with R Markdown and the JavaScript library diff --git a/NEWS.md b/NEWS.md index c8aafca..27ca91a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,8 @@ - Added a new theme `glasgow` according to the U of Glasgow colors (thanks, @svd09, #323). +- Fixed bug in the `useR` theme that prevents standalone mode from working (thanks, @zkamvar, #326). + # CHANGES IN xaringan VERSION 0.21 - When an image is empty (e.g., `![]()`), the output format option `self_contained: true` of `xaringan::moon_reader` fails to encode the image (thanks, @Mosk915, #302). diff --git a/inst/rmarkdown/templates/xaringan/resources/useR.css b/inst/rmarkdown/templates/xaringan/resources/useR.css index d4668e1..86fd2f1 100644 --- a/inst/rmarkdown/templates/xaringan/resources/useR.css +++ b/inst/rmarkdown/templates/xaringan/resources/useR.css @@ -38,7 +38,6 @@ .chapter-slide { background-color: #1464b4; - background-image: url(); } .chapter-slide h1 {