You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Disabled Mermaid support for now
This commit is contained in:
@ -198,7 +198,8 @@ class MdToHtml {
|
||||
this.rendererPlugins_['mermaid'] = new MdToHtml_Mermaid();
|
||||
}
|
||||
|
||||
return language in this.rendererPlugins_ ? this.rendererPlugins_[language] : null;
|
||||
const plugin = this.rendererPlugins_[language];
|
||||
return plugin && plugin.enabled() ? plugin : null;
|
||||
}
|
||||
|
||||
parseInlineCodeLanguage_(content) {
|
||||
|
Reference in New Issue
Block a user