xaringan
Be a Presentation Ninja
By Yihui Xie
May 1, 2021
An R package for creating slideshows with remark.js through R Markdown. The package name xaringan comes from Sharingan, a dōjutsu in Naruto with two abilities: the “Eye of Insight” and the “Eye of Hypnotism”. A presentation ninja should have these basic abilities, and I think remark.js may help you acquire these abilities, even if you are not a member of the Uchiha clan.
Please see the full documentation as a presentation here ( 中文版在此). The remark.js website provides a quick introduction to the underlying syntax upon which xaringan builds. If you prefer reading a book, xaringan is also documented in the R Markdown book (Chapter 7). You can use remotes to install the package:
remotes::install_github('yihui/xaringan')
If you use RStudio, it is easy to get started from the menu File -> New File -> R Markdown -> From Template -> Ninja Presentation
, and you will see an R Markdown example. Press the Knit
button to compile it, or use the RStudio Addin Infinite Moon Reader
to live preview the slides (every time you update and save the Rmd document, the slides will be automatically reloaded; make sure the Rmd document is on focus when you click the addin). Please see the
issue #2 if you do not see the template or addin in RStudio.