瀏覽代碼

Add description to position args in css-help.Rmd

tags/v0.1.1
Garrick Aden-Buie 8 年之前
父節點
當前提交
fd9b79520f
共有 2 個文件被更改,包括 10 次插入6 次删除
  1. +5
    -2
      vignettes/css-help.Rmd
  2. +5
    -4
      vignettes/css-help.md

+ 5
- 2
vignettes/css-help.Rmd 查看文件

@@ -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 查看文件

@@ -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


Loading…
取消
儲存