fix(Content.jsx): enable single dollar text math in remarkMath plugin (#574)

This commit is contained in:
Danny Avila 2023-07-03 08:57:43 -04:00 committed by GitHub
parent b89d46dac0
commit 6b843429c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ const Content = React.memo(({ content, message }) => {
return (
<ReactMarkdown
remarkPlugins={[supersub, remarkGfm, [remarkMath, { singleDollarTextMath: false }]]}
remarkPlugins={[supersub, remarkGfm, [remarkMath, { singleDollarTextMath: true }]]}
rehypePlugins={rehypePlugins}
linkTarget="_new"
components={{