@@ -16,30 +16,19 @@ $endif$
1616 <meta name="apple-mobile-web-app-capable" content="yes">
1717 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
1818 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
19− <link rel="stylesheet" href="$revealjs-url$/css/reset.css">
20− <link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
19+ <link rel="stylesheet" href="$revealjs-url$/dist/reset.css">
20+ <link rel="stylesheet" href="$revealjs-url$/dist/reveal.css">
2121 <style>
2222 $styles.html()$
2323 </style>
2424$if(theme)$
25− <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
25+ <link rel="stylesheet" href="$revealjs-url$/dist/theme/$theme$.css" id="theme">
2626$else$
27− <link rel="stylesheet" href="$revealjs-url$/css/theme/black.css" id="theme">
27+ <link rel="stylesheet" href="$revealjs-url$/dist/theme/black.css" id="theme">
2828$endif$
2929$for(css)$
3030 <link rel="stylesheet" href="$css$"/>
3131$endfor$
32− <!-- Printing and PDF exports -->
33− <script>
34− var link = document.createElement( 'link' );
35− link.rel = 'stylesheet';
36− link.type = 'text/css';
37− link.href = window.location.search.match( /print-pdf/gi ) ? '$revealjs-url$/css/print/pdf.css' : '$revealjs-url$/css/print/paper.css';
38− document.getElementsByTagName( 'head' )[0].appendChild( link );
39− </script>
40− <!--[if lt IE 9]>
41− <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
42− <![endif]-->
4332$if(math)$
4433 $math$
4534$endif$
@@ -78,12 +67,20 @@ $body$
7867 </div>
7968 </div>
8069
81− <script src="$revealjs-url$/js/reveal.js"></script>
70+ <script src="$revealjs-url$/dist/reveal.js"></script>
71+
72+ // reveal.js plugins
73+ <script src="$revealjs-url$/plugin/notes/notes.js"></script>
74+ <script src="$revealjs-url$/plugin/search/search.js"></script>
75+ <script src="$revealjs-url$/plugin/zoom/zoom.js"></script>
76+$if(mathjax)$
77+ <script src="$revealjs-url$/plugin/math/math.js"></script>
78+$endif$
8279
8380 <script>
8481
8582 // Full list of configuration options available at:
86− // https://github.com/hakimel/reveal.js#configuration
83+ // https://revealjs.com/config/
8784 Reveal.initialize({
8885$if(controls)$
8986 // Display controls in the bottom right corner
@@ -147,7 +144,7 @@ $if(rtl)$
147144 rtl: $rtl$,
148145$endif$
149146$if(navigationMode)$
150− // see https://github.com/hakimel/reveal.js/#navigation-mode
147+ // see https://revealjs.com/vertical-slides/#navigation-mode
151148 navigationMode: '$navigationMode$',
152149$endif$
153150$if(shuffle)$
@@ -341,18 +338,14 @@ $if(mathjax)$
341338 },
342339$endif$
343340
344− // Optional reveal.js plugins
345− dependencies: [
346− { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } },
347− { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true },
348−$if(notes-server)$
349− { src: '$revealjs-url$/socket.io/socket.io.js', async: true },
350− { src: '$revealjs-url$/plugin/notes-server/client.js', async: true },
351−$endif$
341+ // reveal.js plugins
342+ plugins: [
352343$if(mathjax)$
353− { src: '$revealjs-url$/plugin/math/math.js', async: true },
344+ RevealMath,
354345$endif$
355− { src: '$revealjs-url$/plugin/notes/notes.js', async: true }
346+ RevealNotes,
347+ RevealSearch,
348+ RevealZoom
356349 ]
357350 });
358351 </script>