소스 검색

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…
취소
저장