diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-04-27 10:43:29 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-04-27 10:43:29 +0200 |
commit | a040ba3b41696cfd78f3ad53ecd923e989f7a652 (patch) | |
tree | 53711e04fc1aa197d765df4a2675fcda573474b1 /plugin | |
parent | c7c09644f0238bb0b27e2af4f974e9df7d7f1ab2 (diff) | |
download | fosdem-2021-minimalism-presentation-a040ba3b41696cfd78f3ad53ecd923e989f7a652.tar fosdem-2021-minimalism-presentation-a040ba3b41696cfd78f3ad53ecd923e989f7a652.tar.gz |
remove unused code from md plugin
Diffstat (limited to 'plugin')
-rwxr-xr-x | plugin/markdown/markdown.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugin/markdown/markdown.js b/plugin/markdown/markdown.js index 803b298..4363d66 100755 --- a/plugin/markdown/markdown.js +++ b/plugin/markdown/markdown.js @@ -408,16 +408,6 @@ const Plugin = () => { deck = reveal; - // This should no longer be needed, as long as the highlight.js - // plugin is included after the markdown plugin - // if( typeof window.hljs !== 'undefined' ) { - // marked.setOptions({ - // highlight: function( code, lang ) { - // return window.hljs.highlightAuto( code, lang ? [lang] : null ).value; - // } - // }); - // } - // marked can be configured via reveal.js config options var options = deck.getConfig().markdown; if( options ) { |