We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 062d5e8 commit 4adb1e4Copy full SHA for 4adb1e4
src/pages/markdownPreview/renderer.js
@@ -137,7 +137,7 @@ function collectTokens(tokens, callback) {
137
138
function createMarkdownIt() {
139
140
- const { katexModulePromise: katex, mdItTexmathModulePromise: markdownItTexmath } = await getKatexAndTexmathModule();
+ const { katexModulePromise: katex, mdItTexmathModulePromise: markdownItTexmath } = getKatexAndTexmathModule().then(m => m);
141
142
const md = markdownIt({
143
html: true,
0 commit comments