.esm suffix for module bundle, marked/highlight.js are installed via npm
This commit is contained in:
1 parent
a4cb3307bb
commit
60cd098c8d
42 files changed
+270
-2154
No files matched your search
@@ -285,9 +285,9 @@
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
import Reveal from '../js/reveal.js'
|
||||
import Markdown from '../plugin/markdown/markdown.js'
|
||||
import Highlight from '../plugin/highlight/highlight.js'
|
||||
import Reveal from '../dist/reveal.esm.js'
|
||||
import Markdown from '../dist/plugin/markdown.esm.js'
|
||||
import Highlight from '../dist/plugin/highlight.esm.js'
|
||||
|
||||
let deck1 = new Reveal( document.querySelector( '.deck1' ), { plugins: [ Markdown ] })
|
||||
deck1.addEventListener( 'ready', function() {
|
||||
|
||||
Reference in new issue
Block a user