Give your xaringan slides some style with xaringanthemer within your slides.Rmd file without (much) CSS.

Installation

xaringanthemer currently lives on GitHub.

Usage

First, add css: xaringan-themer.css to your xaringan slides YAML header under xaringan::moonreader:.

Then, in a hidden chunk just after the knitr setup chunk, load xaringanthemer and try one of the theme functions.

xaringanthemer is Tab friendly – use autocomplete to explore the template variables that you can adjust in each of the themes!

You can also skip the above and just create a Ninja Themed Presentation from the New R Markdown Document menu in RStudio.