Running dashboard, help center

This commit is contained in:
Pranav Raj S
2024-01-25 12:32:50 -08:00
parent 1fe3960285
commit a1b6b0c06c
13 changed files with 86 additions and 68 deletions
@@ -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,