aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-03-25 16:42:55 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-03-25 16:42:55 +0100
commitb8157a1e91ed40af945cd730a5450434e15797b8 (patch)
treebd76ccab2f97d8b223c001c691d3fcd43efb120d /index.html
parentda82c8ce81a5acc8b14002a5818a32ce0c89f7b8 (diff)
parent7d25ef8aaf0ad8739cdf22a57c241a14cd63f3cc (diff)
downloadperl-software-in-gnu-guix-b8157a1e91ed40af945cd730a5450434e15797b8.tar
perl-software-in-gnu-guix-b8157a1e91ed40af945cd730a5450434e15797b8.tar.gz
Merge branch 'master' of https://github.com/jdfitzgerald/reveal.js into dev
Diffstat (limited to 'index.html')
-rw-r--r--index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.html b/index.html
index 972fac7..56d9438 100644
--- a/index.html
+++ b/index.html
@@ -412,7 +412,10 @@ 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.initHighlightingOnLoad(); } },
+ { 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/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; } }
]