.esm suffix for module bundle, marked/highlight.js are installed via npm
This commit is contained in:
@ -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