😎 Give your xaringan slides some style
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Garrick Aden-Buie ff1ca655b2 Move theme settings to separate file il y a 8 ans
R Move theme settings to separate file il y a 8 ans
inst/resources Initial commit, MWP il y a 8 ans
man Move theme settings to separate file il y a 8 ans
tests Initial commit, MWP il y a 8 ans
.Rbuildignore Oops, setup README.Rmd > github README.md il y a 8 ans
.gitignore Initial commit, MWP il y a 8 ans
DESCRIPTION Add package dependencies il y a 8 ans
NAMESPACE Initial commit, MWP il y a 8 ans
README.Rmd Oops, setup README.Rmd > github README.md il y a 8 ans
README.md Oops, setup README.Rmd > github README.md il y a 8 ans
xaringanthemer.Rproj Initial commit, MWP il y a 8 ans

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")
)
```