Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support \(...\) and \[...\] style math formula #1

Closed
wants to merge 1 commit into from

Conversation

MrrDrr
Copy link
Owner

@MrrDrr MrrDrr commented Mar 1, 2024

解决gpt回复的公式使用 (...) 和 [...] 格式导致的渲染问题 ChatGPTNextWeb#3436 (comment)

remark-math 里有人讨论了这个问题,不过结论是不会支持这种格式 remarkjs/remark-math#39

最后参考了这里的实现,不会修改代码块(即```...```中的文本)中的文本:
danny-avila/LibreChat#1585
https://github.com/danny-avila/LibreChat/pull/1585/files#diff-9850a69e517911cf0cdab10bb95d007c71d78758bfd1cc0bb76ccc30a533811c

@MrrDrr MrrDrr closed this Mar 1, 2024
MrrDrr pushed a commit that referenced this pull request Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant