Преглед на файлове

Fix duplicated extra fonts in output from template

tags/v0.3.0
Garrick Aden-Buie преди 7 години
родител
ревизия
c4a10d6af5
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +1
    -0
      R/style_xaringan.R
  2. +1
    -0
      inst/scripts/style_xaringan_body.R

+ 1
- 0
R/style_xaringan.R Целия файл

@@ -155,6 +155,7 @@ style_xaringan <- function(
}
extra_font_imports <- if (is.null(extra_fonts)) "" else list2fonts(extra_fonts)
extra_font_imports <- paste(extra_font_imports, collapse = "\n")
# convert NA arguments to NULL
for (var in f_args) {

+ 1
- 0
inst/scripts/style_xaringan_body.R Целия файл

@@ -29,6 +29,7 @@ for (var in f_args[grepl("font_google$", f_args)]) {
}

extra_font_imports <- if (is.null(extra_fonts)) "" else list2fonts(extra_fonts)
extra_font_imports <- paste(extra_font_imports, collapse = "\n")

# convert NA arguments to NULL
for (var in f_args) {

Loading…
Отказ
Запис