fix(webui): require double tildes for strikethrough
This commit is contained in:
1 parent
cdb6210b45
commit
061b19afe1
3 files changed
+35
-2
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user