From 2562999e855a53ef8400d1d58c2c3e2696779d7b Mon Sep 17 00:00:00 2001 From: k00b Date: Sun, 13 Oct 2024 10:08:54 -0500 Subject: [PATCH] fix mathjax single dollar conflicts --- components/text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/text.js b/components/text.js index 81205da2..fe70f0a2 100644 --- a/components/text.js +++ b/components/text.js @@ -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 }) {