fix mathjax single dollar conflicts

This commit is contained in:
k00b 2024-10-13 10:08:54 -05:00
parent 021a13d21e
commit 2562999e85
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const rehypeSNStyled = () => rehypeSN({
}] }]
}) })
const remarkPlugins = [gfm, remarkMath] const remarkPlugins = [gfm, [remarkMath, { singleDollarTextMath: false }]]
const rehypePlugins = [rehypeSNStyled, rehypeMathjax] const rehypePlugins = [rehypeSNStyled, rehypeMathjax]
export function SearchText ({ text }) { export function SearchText ({ text }) {