From c40e9819a24922dd1f16ea7b0bb809127978a21b Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 4 Mar 2019 14:32:38 +0100 Subject: highlight, math, notes and zoom plugins now register via Reveal.registerPlugin --- demo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demo.html') diff --git a/demo.html b/demo.html index 6269746..808e314 100644 --- a/demo.html +++ b/demo.html @@ -402,7 +402,7 @@ Reveal.addEventListener( 'customevent', function() { dependencies: [ { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, - { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, + { src: 'plugin/highlight/highlight.js', async: true }, { src: 'plugin/search/search.js', async: true }, { src: 'plugin/zoom-js/zoom.js', async: true }, { src: 'plugin/notes/notes.js', async: true } -- cgit v1.2.3