Merge branch 'bug/markdownSetOptions' of https://github.com/snowyu/reveal.js into dev

This commit is contained in:
Hakim El Hattab
2016-06-22 09:20:24 +02:00
5 changed files with 68 additions and 3 deletions

View File

@ -23,8 +23,8 @@
if( typeof hljs !== 'undefined' ) {
marked.setOptions({
highlight: function( lang, code ) {
return hljs.highlightAuto( lang, code ).value;
highlight: function( code, lang ) {
return hljs.highlightAuto( code, [lang] ).value;
}
});
}

File diff suppressed because one or more lines are too long