forked from blallo/talk-hm-0x15
updated presentation to specify used languages used for highlight.js
This commit is contained in:
parent
d939c4790e
commit
7d25ef8aaf
1 changed files with 4 additions and 1 deletions
|
@ -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; } }
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue