|
@@ -669,19 +669,23 @@ Reveal.on( 'customevent', function() {
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <!-- Use the built assets if you want to run reveal.js without a web server -->
|
|
|
+ <!--
|
|
|
<script src="dist/reveal.js"></script>
|
|
|
<script src="dist/plugin/zoom.js"></script>
|
|
|
<script src="dist/plugin/notes.js"></script>
|
|
|
<script src="dist/plugin/search.js"></script>
|
|
|
<script src="dist/plugin/markdown.js"></script>
|
|
|
<script src="dist/plugin/highlight.js"></script>
|
|
|
- <script>
|
|
|
- // import Reveal from 'reveal.js';
|
|
|
- // import RevealZoom from 'reveal.js/plugin/zoom';
|
|
|
- // import RevealNotes from 'reveal.js/plugin/notes';
|
|
|
- // import RevealSearch from 'reveal.js/plugin/search';
|
|
|
- // import RevealMarkdown from 'reveal.js/plugin/markdown';
|
|
|
- // import RevealHighlight from 'reveal.js/plugin/highlight';
|
|
|
+ -->
|
|
|
+
|
|
|
+ <script type="module">
|
|
|
+ import Reveal from 'reveal.js';
|
|
|
+ import RevealZoom from 'reveal.js/plugin/zoom';
|
|
|
+ import RevealNotes from 'reveal.js/plugin/notes';
|
|
|
+ import RevealSearch from 'reveal.js/plugin/search';
|
|
|
+ import RevealMarkdown from 'reveal.js/plugin/markdown';
|
|
|
+ import RevealHighlight from 'reveal.js/plugin/highlight';
|
|
|
|
|
|
// Also available as an ES module, see:
|
|
|
// https://revealjs.com/initialization/
|