feat: disable singleDollarTextMath

This commit is contained in:
DIYgod
2023-04-20 18:50:52 +01:00
parent 9f0c95348c
commit 46013a55a2
+3 -1
View File
@@ -106,7 +106,9 @@ export const renderPageContent = (
.use(remarkDirectiveRehype)
.use(remarkYoutube)
.use(remarkMermaid)
.use(remarkMath)
.use(remarkMath, {
singleDollarTextMath: false,
})
.use(remarkRehype, { allowDangerousHtml: true })
.use(rehypeStringify)
.use(rehypeRaw)