Running dashboard, help center
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import mila from 'markdown-it-link-attributes';
|
||||
import mentionPlugin from './markdownIt/link';
|
||||
import MarkdownIt from 'markdown-it';
|
||||
|
||||
const setImageHeight = inlineToken => {
|
||||
const imgSrc = inlineToken.attrGet('src');
|
||||
@@ -30,7 +31,7 @@ const imgResizeManager = md => {
|
||||
});
|
||||
};
|
||||
|
||||
const md = require('markdown-it')({
|
||||
const md = MarkdownIt({
|
||||
html: false,
|
||||
xhtmlOut: true,
|
||||
breaks: true,
|
||||
|
||||
Reference in New Issue
Block a user