Skip to main content

The PreTeXt Guide

Subsection 44.5.4 Reveal.js Resources

You may wish to host the reveal.js CSS and javascript files locally or obtain them online. Be sure to read in Section 34.1 about the necessity of providing the complete MathJax library Section 34.1 if your document has mathematics and you opt for local resources.
element can have the following attributes:
  • @host: The values local and cdn will retrieve various Javascript and CSS files (such as the theme) relative to the slideshow HTML file or from an online Content Delivery Network (respectively). PreTeXt will maintain a link to a current, updated, CDN version and this will change without notice. This attribute may be given a URL or a local path, though this has not been tested, so should be considered experimental.