plugins can be direct references or factory functions

This commit is contained in:
Hakim El Hattab
2020-04-23 09:39:26 +02:00
parent c1b2e415db
commit 210fbb7646
8 changed files with 26 additions and 23 deletions

View File

@ -28,10 +28,10 @@
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
// - https://github.com/hakimel/reveal.js#plugins
Reveal.initialize({
hash: true,
plugins: [ RevealMarkdown(), RevealHighlight(), RevealNotes() ]
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
</script>
</body>