Skip to content

Commit

Permalink
feat: disable singleDollarTextMath
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Apr 20, 2023
1 parent 9f0c953 commit 46013a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/markdown/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 46013a5

Please sign in to comment.