support including plugins via <script> instead of dependencies

This commit is contained in:
Hakim El Hattab
2020-04-16 15:45:25 +02:00
parent 34458a988a
commit 7b151c2320
10 changed files with 6 additions and 26 deletions

View File

@ -163,20 +163,15 @@
</div>
<script src="../../dist/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
center: true,
hash: true,
dependencies: [
{ src: '../../plugin/highlight/highlight.js', async: true }
{ src: '../../dist/plugin/highlight.js', async: true }
]
});
</script>
</body>