Explorar el Código

Add description to position args in css-help.Rmd

tags/v0.1.1
Garrick Aden-Buie hace 8 años
padre
commit
fd9b79520f
Se han modificado 2 ficheros con 10 adiciones y 6 borrados
  1. +5
    -2
      vignettes/css-help.Rmd
  2. +5
    -4
      vignettes/css-help.md

+ 5
- 2
vignettes/css-help.Rmd Ver fichero

@@ -157,14 +157,17 @@ If we later decide to change the base font size, say to `"15px"`, the header tex

```{r echo=FALSE}
tv_position <- grep("position", template_variables$variable, value = TRUE)
tv_desc <- template_variables[template_variables$variable %in% tv_position,]$description
tv_desc <- strsplit(tv_desc, ",")
tv_desc <- purrr::map(tv_desc, ~ tolower(.[1]))
```

If you're reading this, you're probably wondering how you make an element be *where you want it to be*.

There are `r length(tv_position)` items that **xaringanthemer** will help you position:
There are `r length(tv_position)` items that **xaringanthemer** can help you position:

```{r echo=FALSE, results='asis'}
cat(paste0("- `", tv_position, "`"), sep = "\n")
cat(paste0("- `", tv_position, "` (", tv_desc, ")"), sep = "\n")
```

### Footnote Position

+ 5
- 4
vignettes/css-help.md Ver fichero

@@ -167,11 +167,12 @@ paragraph text.
If you’re reading this, you’re probably wondering how you make an
element be *where you want it to be*.

There are 3 items that **xaringanthemer** will help you position:
There are 3 items that **xaringanthemer** can help you position:

- `background_position`
- `title_slide_background_position`
- `footnote_position_bottom`
- `background_position` (background image position)
- `title_slide_background_position` (title slide background image
position)
- `footnote_position_bottom` (footnote location from bottom of screen)

### Footnote Position


Cargando…
Cancelar
Guardar