fix(webui): require double tildes for strikethrough

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-14 14:56:03 +08:00
1 parent cdb6210b45
commit 061b19afe1
3 files changed
+35 -2

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ import { remarkTexMath } from "@/lib/remark-tex-math";
const boundaryParser = unified()
.use(remarkParse)
.use(remarkGfm)
.use(remarkGfm, { singleTilde: false })
.use(remarkMath, { singleDollarTextMath: false })
.use(remarkTexMath, { allowUnclosedFlow: true })
.freeze();