add 'plugins' config option, new way of registering es5 plugins

This commit is contained in:
Hakim El Hattab
2020-04-17 09:47:03 +02:00
parent 08f29f08a2
commit d9690462e0
20 changed files with 44 additions and 72 deletions

View File

@ -429,7 +429,7 @@ Reveal.on( 'customevent', function() {
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [ Zoom, Notes, Search, Markdown, Highlight ]
plugins: [ Zoom, Notes, Search, Markdown, Highlight ]
});
deck.initialize();