7.10 Working offline

Making the slides work offline can be tricky, since you may have other dependencies. For example, if you used Google web fonts in slides (the default theme uses Yanone KaffeesatzDroid Serif, and Source Code Pro), they will not work offline unless you download or install them locally.

To make slides work offline, you need to download a copy of remark.js in advance, because xaringan uses the online version by default.

Refer to R Markdown: The Definitive Guide, Section 7.6.4 for details.