Преглед изворни кода

Vignettes don't look for pkg source code files

tags/v0.3.0
Garrick Aden-Buie пре 6 година
родитељ
комит
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 Прегледај датотеку

@@ -13,7 +13,7 @@ knitr::opts_chunk$set(
comment = "#>"
)

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

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

+ 1
- 2
vignettes/singles/fonts.Rmd Прегледај датотеку

@@ -5,8 +5,7 @@ title: Fonts
[adding-custom-css]: xaringanthemer.html#adding-custom-css

```{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"}

+ 1
- 1
vignettes/template-variables.Rmd Прегледај датотеку

@@ -26,7 +26,7 @@ Note that themes, like `mono_accent()`, have additional parameters, but with any
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}
source("../R/theme_settings.R")
template_variables <- xaringanthemer:::template_variables
template_variables$variable <- glue::glue_data(template_variables, "`{variable}`")
template_variables$default <- gsub("[{}]", "", template_variables$default)
template_variables <- template_variables[, c(

+ 1
- 2
vignettes/xaringanthemer.Rmd Прегледај датотеку

@@ -78,8 +78,7 @@ All of the theme options are named so that you first think of the element you wa
Here are some of the `text_` theme options:

```{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("- *and more ...*")
```

Loading…
Откажи
Сачувај