mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 08:34:54 -04:00
Load custom markdown-it-regex plugin with script-loader
This commit is contained in:
parent
b73fcfc5c9
commit
895bf98b03
1 changed files with 14 additions and 14 deletions
|
@ -916,7 +916,7 @@ md.renderer.rules.fence = function (tokens, idx, options, env, self) {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Defined regex markdown it plugins */
|
/* Defined regex markdown it plugins */
|
||||||
var Plugin = require('markdown-it-regexp');
|
require('script!../vendor/markdown-it-regexp');
|
||||||
|
|
||||||
//youtube
|
//youtube
|
||||||
var youtubePlugin = new Plugin(
|
var youtubePlugin = new Plugin(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue