aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-03-25 16:56:33 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-03-25 16:56:33 +0100
commit243867f91ec2929a71c6ebac4519a55e1ed4b286 (patch)
treec8ba1faf55ccbff9d28c49b6ed1f80bf71a88a7e /index.html
parentb8157a1e91ed40af945cd730a5450434e15797b8 (diff)
downloadfreenode-live-2017-presentation-243867f91ec2929a71c6ebac4519a55e1ed4b286.tar
freenode-live-2017-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.html5
1 files changed, 1 insertions, 4 deletions
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; } }
]