diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-03-25 16:42:55 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-03-25 16:42:55 +0100 |
commit | b8157a1e91ed40af945cd730a5450434e15797b8 (patch) | |
tree | bd76ccab2f97d8b223c001c691d3fcd43efb120d /index.html | |
parent | da82c8ce81a5acc8b14002a5818a32ce0c89f7b8 (diff) | |
parent | 7d25ef8aaf0ad8739cdf22a57c241a14cd63f3cc (diff) | |
download | fosdem-2018-presentation-b8157a1e91ed40af945cd730a5450434e15797b8.tar fosdem-2018-presentation-b8157a1e91ed40af945cd730a5450434e15797b8.tar.gz |
Merge branch 'master' of https://github.com/jdfitzgerald/reveal.js into dev
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } } ] |