From 243867f91ec2929a71c6ebac4519a55e1ed4b286 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 25 Mar 2014 16:56:33 +0100 Subject: merge upgrade of highlight.js, add base styles to pre code, dont limit language detection in index.html #809 --- index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 56d9438..972fac7 100644 --- a/index.html +++ b/index.html @@ -412,10 +412,7 @@ function linkify( selector ) { { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }, { 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.configure({languages:['js','html']}); // limit language detection to what's in the presentation - hljs.initHighlightingOnLoad(); - } }, + { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } } ] -- cgit v1.2.3