Sfoglia il codice sorgente

Add description to position args in css-help.Rmd

tags/v0.1.1
Garrick Aden-Buie 8 anni fa
parent
commit
fd9b79520f
2 ha cambiato i file con 10 aggiunte e 6 eliminazioni
  1. +5
    -2
      vignettes/css-help.Rmd
  2. +5
    -4
      vignettes/css-help.md

+ 5
- 2
vignettes/css-help.Rmd Vedi File



```{r echo=FALSE} ```{r echo=FALSE}
tv_position <- grep("position", template_variables$variable, value = TRUE) 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*. 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'} ```{r echo=FALSE, results='asis'}
cat(paste0("- `", tv_position, "`"), sep = "\n")
cat(paste0("- `", tv_position, "` (", tv_desc, ")"), sep = "\n")
``` ```


### Footnote Position ### Footnote Position

+ 5
- 4
vignettes/css-help.md Vedi File

If you’re reading this, you’re probably wondering how you make an If you’re reading this, you’re probably wondering how you make an
element be *where you want it to be*. 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 ### Footnote Position



Loading…
Annulla
Salva