mirror of https://github.com/status-im/codimd.git
Load custom markdown-it-regex plugin with script-loader
This commit is contained in:
parent
b73fcfc5c9
commit
895bf98b03
|
@ -916,7 +916,7 @@ md.renderer.rules.fence = function (tokens, idx, options, env, self) {
|
|||
};
|
||||
|
||||
/* Defined regex markdown it plugins */
|
||||
var Plugin = require('markdown-it-regexp');
|
||||
require('script!../vendor/markdown-it-regexp');
|
||||
|
||||
//youtube
|
||||
var youtubePlugin = new Plugin(
|
||||
|
|
Loading…
Reference in New Issue