Skip to content

Commit 9fa157d

Browse files
committed
leave a comment for how to import es5 assets via dev server
1 parent 8350d1b commit 9fa157d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

demo.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,14 @@ <h1>THE END</h1>
678678
<script src="dist/plugin/markdown.js"></script>
679679
<script src="dist/plugin/highlight.js"></script>
680680
<script>
681-
// Also available as an ES module, see:
682-
// https://revealjs.com/initialization/
681+
// Also available as an ES module, see: https://revealjs.com/initialization/
682+
// import Reveal from 'reveal.js';
683+
// import RevealZoom from 'reveal.js/plugin/zoom';
684+
// import RevealNotes from 'reveal.js/plugin/notes';
685+
// import RevealSearch from 'reveal.js/plugin/search';
686+
// import RevealMarkdown from 'reveal.js/plugin/markdown';
687+
// import RevealHighlight from 'reveal.js/plugin/highlight';
688+
683689
Reveal.initialize({
684690
controls: true,
685691
progress: true,

0 commit comments

Comments
 (0)