Home  »  CodeLibrariesSnippetsTechnologyTools   »   Reveal.js CDN URL Example

Reveal.js CDN URL Example

Posted: December 17, 2022 | by Michael Bright

This is the Reveal.js CDN URL CSS.

https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/css/reveal.min.css

This is the Reveal.js CDN URL JavaScript.

https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/js/reveal.min.js

This is how to use Reveal.js with CDN.

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/css/reveal.min.css" integrity="sha512-V5fKCVKOFy36w8zJmLzPH5R6zU6KvuHOvxfMRczx2ZeqTjKRGSBO9yiZjCKEJS3n6EmENwrH/xvSwXqxje+VVA==" crossorigin="anonymous" referrerpolicy="no-referrer" />

<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/js/reveal.min.js" integrity="sha512-QYXU3Cojl94ZRiZRjUZpyg1odj9mKTON9MsTMzGNx/L3JqvMA3BQNraZwsZ83UeisO+QMVfFa83SyuYYJzR9hw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

Using jsdelivr.

https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.min.js

Here is the HTML code.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/reveal.min.js"></script>

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.