Don't load katex

This commit is contained in:
Peter Stuifzand 2021-08-18 21:40:40 +02:00
parent 9184de2d1a
commit 5bed4d4652

View File

@ -1,7 +1,7 @@
import MarkdownIt from "markdown-it";
import MarkdownItWikilinks from "./wikilinks";
import MarkdownItMark from "markdown-it-mark";
import MarkdownItKatex from "markdown-it-katex";
// import MarkdownItKatex from "markdown-it-katex";
const MD = new MarkdownIt({
linkify: true,
@ -20,6 +20,7 @@ MD.use(MarkdownItWikilinks({
htmlAttributes: {
class: 'wiki-link'
},
})).use(MarkdownItMark).use(MarkdownItKatex)
})).use(MarkdownItMark)
// .use(MarkdownItKatex)
export default MD;