Просмотр исходного кода

Vignettes don't look for pkg source code files

tags/v0.3.0
Garrick Aden-Buie 6 лет назад
Родитель
Сommit
5fedc37f5f
4 измененных файлов: 4 добавлений и 6 удалений
  1. +1
    -1
      vignettes/css-help.Rmd
  2. +1
    -2
      vignettes/singles/fonts.Rmd
  3. +1
    -1
      vignettes/template-variables.Rmd
  4. +1
    -2
      vignettes/xaringanthemer.Rmd

+ 1
- 1
vignettes/css-help.Rmd Просмотреть файл

comment = "#>" comment = "#>"
) )


source("../R/theme_settings.R")
template_variables <- xaringanthemer:::template_variables
``` ```


Jump to: [Colors](#colors), [Sizes](#sizes), [Positioning](#positioning) Jump to: [Colors](#colors), [Sizes](#sizes), [Positioning](#positioning)

+ 1
- 2
vignettes/singles/fonts.Rmd Просмотреть файл

[adding-custom-css]: xaringanthemer.html#adding-custom-css [adding-custom-css]: xaringanthemer.html#adding-custom-css


```{r, results='asis', echo=FALSE} ```{r, results='asis', echo=FALSE}
source(here::here("R/theme_settings.R"))
tvv <- template_variables$variable
tvv <- xaringanthemer:::template_variables$variable
``` ```


```{r child="../../man/fragments/_fonts.Rmd"} ```{r child="../../man/fragments/_fonts.Rmd"}

+ 1
- 1
vignettes/template-variables.Rmd Просмотреть файл

For example, to use `mono_accent()` with a different slide background color, you can call `mono_accent(background_color = "#abc123")`. For example, to use `mono_accent()` with a different slide background color, you can call `mono_accent(background_color = "#abc123")`.


```{r table, results = "asis", echo=FALSE} ```{r table, results = "asis", echo=FALSE}
source("../R/theme_settings.R")
template_variables <- xaringanthemer:::template_variables
template_variables$variable <- glue::glue_data(template_variables, "`{variable}`") template_variables$variable <- glue::glue_data(template_variables, "`{variable}`")
template_variables$default <- gsub("[{}]", "", template_variables$default) template_variables$default <- gsub("[{}]", "", template_variables$default)
template_variables <- template_variables[, c( template_variables <- template_variables[, c(

+ 1
- 2
vignettes/xaringanthemer.Rmd Просмотреть файл

Here are some of the `text_` theme options: Here are some of the `text_` theme options:


```{r, results='asis', echo=FALSE} ```{r, results='asis', echo=FALSE}
source(here::here("R/theme_settings.R"))
tvv <- template_variables$variable
tvv <- xaringanthemer:::template_variables$variable
cat(paste0("- `", tvv[grepl("^text_", tvv)][1:5], "`"), sep = "\n") cat(paste0("- `", tvv[grepl("^text_", tvv)][1:5], "`"), sep = "\n")
cat("- *and more ...*") cat("- *and more ...*")
``` ```

Загрузка…
Отмена
Сохранить