remove unused code from md plugin
This commit is contained in:
parent
c7c09644f0
commit
a040ba3b41
@ -408,16 +408,6 @@ const Plugin = () => {
|
|||||||
|
|
||||||
deck = reveal;
|
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
|
// marked can be configured via reveal.js config options
|
||||||
var options = deck.getConfig().markdown;
|
var options = deck.getConfig().markdown;
|
||||||
if( options ) {
|
if( options ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user