From 7d25ef8aaf0ad8739cdf22a57c241a14cd63f3cc Mon Sep 17 00:00:00 2001
From: "J.D. Fitz.Gerald" <jd@jdfitzgerald.net>
Date: Fri, 28 Feb 2014 16:23:05 +0000
Subject: [PATCH] updated presentation to specify used languages used for
 highlight.js

---
 index.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 2e25a657..5ae53bf2 100644
--- a/index.html
+++ b/index.html
@@ -382,7 +382,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; } }
 				]
-- 
GitLab