Skip to content

Commit 340e938

Browse files
fix(chat): Math Formatting (#7229)
1 parent 6faa47e commit 340e938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/app/chat/message/messageComponents/markdownUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export const renderMarkdown = (
140140
components={markdownComponents}
141141
remarkPlugins={[
142142
remarkGfm,
143-
[remarkMath, { singleDollarTextMath: false }],
143+
[remarkMath, { singleDollarTextMath: true }],
144144
]}
145145
rehypePlugins={[rehypeHighlight, rehypeKatex]}
146146
urlTransform={transformLinkUri}

0 commit comments

Comments
 (0)