fix: katex issue

This commit is contained in:
Timothy Jaeryang Baek 2025-02-19 23:37:11 -08:00
parent 0e20b15afe
commit d6f3444141

View File

@ -134,6 +134,9 @@ function inlineKatex(options) {
},
tokenizer(src, tokens) {
return katexTokenizer(src, tokens, false);
},
renderer(token) {
return `${token?.text ?? ''}`;
}
};
}
@ -147,6 +150,9 @@ function blockKatex(options) {
},
tokenizer(src, tokens) {
return katexTokenizer(src, tokens, true);
},
renderer(token) {
return `${token?.text ?? ''}`;
}
};
}