feat: disable singleDollarTextMath

This commit is contained in:
DIYgod 2023-04-20 18:50:52 +01:00
parent 9f0c95348c
commit 46013a55a2
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

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)