plugins can be direct references or factory functions

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

No files matched your search

+2 -2
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>