|
@@ -97,13 +97,13 @@ Reveal.js doesn't _rely_ on any third party scripts to work but a few optional l
|
|
```javascript
|
|
```javascript
|
|
Reveal.initialize({
|
|
Reveal.initialize({
|
|
dependencies: [
|
|
dependencies: [
|
|
- // Syntax highlight for <code> elements
|
|
|
|
- { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
|
|
|
|
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
|
|
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
|
|
- { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }
|
|
|
|
|
|
+ { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
|
|
// Interpret Markdown in <section> elements
|
|
// Interpret Markdown in <section> elements
|
|
- { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
|
|
|
- { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
|
|
|
|
|
+ { src: 'plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
|
|
|
+ { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
|
|
|
+ // Syntax highlight for <code> elements
|
|
|
|
+ { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
|
// Zoom in and out with Alt+click
|
|
// Zoom in and out with Alt+click
|
|
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
|
|
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
|
|
// Speaker notes
|
|
// Speaker notes
|