Skip to content

Commit

Permalink
fix(Content.jsx): enable single dollar text math in remarkMath plugin (
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila authored Jul 3, 2023
1 parent b89d46d commit 6b84342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Messages/Content/Content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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={{
Expand Down

0 comments on commit 6b84342

Please sign in to comment.