mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
fix(Content.jsx): enable single dollar text math in remarkMath plugin (#574)
This commit is contained in:
parent
b89d46dac0
commit
6b843429c5
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ const Content = React.memo(({ content, message }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ReactMarkdown
|
<ReactMarkdown
|
||||||
remarkPlugins={[supersub, remarkGfm, [remarkMath, { singleDollarTextMath: false }]]}
|
remarkPlugins={[supersub, remarkGfm, [remarkMath, { singleDollarTextMath: true }]]}
|
||||||
rehypePlugins={rehypePlugins}
|
rehypePlugins={rehypePlugins}
|
||||||
linkTarget="_new"
|
linkTarget="_new"
|
||||||
components={{
|
components={{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue