ABSTRACT

The R package xaringan is based on an HTML5 presentation framework remark.js, which is very customizable if you understand CSS and JavaScript. It supports several keyboard shortcuts when presenting the slides. For example, you can enter the presenter mode by pressing "P". The Markdown syntax of remark.js is a little different from Pandoc's Markdown. There is special syntax for creating slides, assigning attributes to slides, and so on. You can live preview slides using the function xaringan::inf_mr(). There are several other little features in this package, e.g., you can autoplay slides with an option, add a countdown timer to your slides, and highlight certain lines of code, etc.