😎 Give your xaringan slides some style
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Garrick Aden-Buie f3e768a738 Oops, setup README.Rmd > github README.md 8 роки тому
R Initial commit, MWP 8 роки тому
inst/resources Initial commit, MWP 8 роки тому
man Initial commit, MWP 8 роки тому
tests Initial commit, MWP 8 роки тому
.Rbuildignore Oops, setup README.Rmd > github README.md 8 роки тому
.gitignore Initial commit, MWP 8 роки тому
DESCRIPTION Add package dependencies 8 роки тому
NAMESPACE Initial commit, MWP 8 роки тому
README.Rmd Oops, setup README.Rmd > github README.md 8 роки тому
README.md Oops, setup README.Rmd > github README.md 8 роки тому
xaringanthemer.Rproj Initial commit, MWP 8 роки тому

README.md

xaringanthemer

Easily style your xaringan slides with xaringanthemer

Installation

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

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:

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

Then, in the first knitr chunk, try this:

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