- http://www.favstats.eu/post/xaringan_tut/
- https://bookdown.org/yihui/rmarkdown/xaringan.html
- https://github.com/zhiiiyang/XaringanTutorial
Various approaches exist converting HTML slides to PDF. One way is to print the slides to PDF using your web browser (e.g. Ctrl + P or Command + P in Google Chrome). Firefox is not supported, Chrome should work best.
library(webshot)
webshot::install_phantomjs(force = TRUE)
webshot("index.html", "index.pdf")