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

程序回答代码高亮问题 #519

Open
Mr-XiaoYi opened this issue Apr 23, 2024 · 5 comments
Open

程序回答代码高亮问题 #519

Mr-XiaoYi opened this issue Apr 23, 2024 · 5 comments

Comments

@Mr-XiaoYi
Copy link

我用的是docker搭建的
用的是项目介绍里面的docker启动代码

系统宝塔docker amd64架构 centos8系统

如果是请求得到的回答是这一串代码的话,不会有高亮显示,会直接以文字的形式显示出来没有高亮部分右上角的 复制代码

产:

  • 高制成
  • 简尚设计
  • 易和清洁
@Mr-XiaoYi
Copy link
Author

2a1274c32c211b60f0e692646a0f991

@zhujunsan
Copy link
Contributor

支持markdown,应该不会支持html的,太危险了

@Mr-XiaoYi
Copy link
Author

支持markdown,应该不会支持html的,太危险了

不知道是不是有办法,我砍chatgpt官方那个很好看,很棒

@Fugitive844
Copy link

你可以在提问的时候要求他以markdown返回,但是遇到代码时能正确显示html代码

@BobDu
Copy link
Member

BobDu commented May 6, 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

4 participants