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

【bug】界面代码无高亮显示 #289

Closed
substitute5 opened this issue Mar 31, 2023 · 3 comments
Closed

【bug】界面代码无高亮显示 #289

substitute5 opened this issue Mar 31, 2023 · 3 comments

Comments

@substitute5
Copy link

拷贝回答内容至*.md文件中,可以看到,代码区域是明确了编程语言的,但界面的代码没有高亮显示。
image

@Yidadaa
Copy link
Collaborator

Yidadaa commented Mar 31, 2023

用的 markdown 插件比较蠢,只能识别 cpp 标识,设置为 c++ 就不认识了

@substitute5
Copy link
Author

额 接口返回的数据应该就是带了c++字样的,那看起来短时间内还无法解决这个bug哇?交互查看代码时,影响挺大的。

@yanglyu902
Copy link
Contributor

可不可以每次用regex之类的把返回的"```c++"转成"```cpp"?

@Yidadaa Yidadaa closed this as completed in 4f0108b Apr 2, 2023
lileihappy123 pushed a commit to lileihappy123/ChatGPT-Next-Web that referenced this issue Apr 22, 2023
lileihappy123 pushed a commit to lileihappy123/ChatGPT-Next-Web that referenced this issue Apr 22, 2023
yxl pushed a commit to yxl/ChatGPT-Next-Web that referenced this issue May 4, 2023
yxl pushed a commit to yxl/ChatGPT-Next-Web that referenced this issue May 4, 2023
ryiann pushed a commit to ryiann/ChatGPT that referenced this issue Feb 27, 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
Development

No branches or pull requests

3 participants