diff options
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/extra.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index a4eed879..61433528 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -903,7 +903,7 @@ md.use(require('markdown-it-mark')); md.use(require('markdown-it-ins')); md.use(require('markdown-it-sub')); md.use(require('markdown-it-sup')); -md.use(require('../vendor/markdown-it-mathjax')); +md.use(require('markdown-it-mathjax')); md.use(require('markdown-it-imsize')); md.use(require('markdown-it-emoji'), { @@ -980,7 +980,7 @@ md.renderer.rules.fence = function (tokens, idx, options, env, self) { }; /* Defined regex markdown it plugins */ -require('script!../vendor/markdown-it-regexp'); +var Plugin = require('markdown-it-regexp'); //youtube var youtubePlugin = new Plugin( |