anse-app / chatgpt-demo

Minimal web UI for ChatGPT.
https://chatgpt.ddiu.me
MIT License
8k stars 3.82k forks source link

Raw content #429

Open zhuozhiyongde opened 1 year ago

zhuozhiyongde commented 1 year ago

Describe the feature

I request the following functionality:

Add a "Raw" button to the left of the "Regenerate" button to display the complete returned text without Markdown rendering. This is done because in some cases, Markdown rendering does not work as expected. It will also be more convenient if you want to copy a section of Markdown code instead of rendered text.

In the attached image, it can be seen that the keyword A* heuristic search is rendered in italics incorrectly, which is completely unexpected.


我请求如下功能:

在 Regenerate 按钮左侧添加一个 Raw 按钮,从而显示完整的返回文本而不经过 Markdown 渲染,这么做是因为某些情况下,Markdown 渲染并不能完全按照预期工作。且若想复制一段 Markdown 代码而不是渲染后的文本时,也会更加方便。

在附图中,可以看到 A* 启发式搜索 这一关键词被错误的渲染了斜体,而这完全是意料之外的。

Cleanshot-2023-07-23-at-07 19 26@2x

Additional context

No response

Participation