diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-03-25 16:56:33 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-03-25 16:56:33 +0100 |
commit | 243867f91ec2929a71c6ebac4519a55e1ed4b286 (patch) | |
tree | c8ba1faf55ccbff9d28c49b6ed1f80bf71a88a7e /index.html | |
parent | b8157a1e91ed40af945cd730a5450434e15797b8 (diff) | |
download | fosdem-2018-presentation-243867f91ec2929a71c6ebac4519a55e1ed4b286.tar fosdem-2018-presentation-243867f91ec2929a71c6ebac4519a55e1ed4b286.tar.gz |
merge upgrade of highlight.js, add base styles to pre code, dont limit language detection in index.html #809
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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; } } ] |