fix mathjax single dollar conflicts
This commit is contained in:
parent
021a13d21e
commit
2562999e85
|
@ -33,7 +33,7 @@ const rehypeSNStyled = () => rehypeSN({
|
|||
}]
|
||||
})
|
||||
|
||||
const remarkPlugins = [gfm, remarkMath]
|
||||
const remarkPlugins = [gfm, [remarkMath, { singleDollarTextMath: false }]]
|
||||
const rehypePlugins = [rehypeSNStyled, rehypeMathjax]
|
||||
|
||||
export function SearchText ({ text }) {
|
||||
|
|
Loading…
Reference in New Issue