瀏覽代碼

Add Readme

tags/v0.1.1
Garrick Aden-Buie 8 年之前
父節點
當前提交
e1ec1a79c0
共有 2 個檔案被更改,包括 408 行新增0 行删除
  1. +41
    -0
      README.Rmd
  2. +367
    -0
      README.html

+ 41
- 0
README.Rmd 查看文件

@@ -0,0 +1,41 @@
# xaringanthemer

[xaringan]: https://github.com/yihui/xaringan

Easily style your [xaringan] slides with **xaringanthemer**

## Installation

Currently, this is a work in progress.
Try it yourself:

```r
devtools::install_github("gadenbuie/xaringanthemer")
```

## Make it work

To make it work, add `css: xaringan-themed.css` to your xaringan slides YAML header under `xaringan::moonreader:`

```yaml
output:
xaringan::moon_reader:
lib_dir: libs
css: xaringan-themed.css
```

Then, in the first knitr chunk, try this:

````markdown
```{r setup} `r ''`
options(htmltools.dir.version = FALSE)
library(xaringanthemer)
mono_dark(
base_color = "#b6174b",
header_font_google = google_font("Josefin Sans"),
text_font_google = google_font("Montserrat", "300", "300i"),
code_font_google = google_font("Droid Mono")
)
```
````


+ 367
- 0
README.html
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存