lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
39.94k stars 9.09k forks source link

[Request] 纯文本格式显示(Raw Content Support) #557

Closed zhuozhiyongde closed 9 months ago

zhuozhiyongde commented 9 months ago

🥰 需求描述 | Feature Description

如题,现有的 GPT 输出会被以 markdown 格式渲染,这很好,但是在某些情况下会造成语法歧义的错误渲染,如搜索一些带有特殊符号的概念(A*启发式搜索)或者其他意外的输出(如下图)。 Cleanshot-2023-12-02-at-22 06 51@2x

🧐 解决方案 | Proposed Solution

希望在附属工具栏添加一个“取消markdown渲染”或“Raw Content”这样的功能。 Cleanshot-2023-12-02-at-22 07 20@2x

📝 补充信息 | Additional Information

No response

lobehubbot commented 9 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Requirement Description | Feature Description

As mentioned, the existing GPT output will be rendered in markdown format, which is good, but in some cases it will cause incorrect rendering of syntactic ambiguities, such as searching for some concepts with special symbols (A* heuristic search) or Other unexpected output (as shown below). Cleanshot-2023-12-02-at-22 06 51@2x

🧐 Solution | Proposed Solution

I hope to add a function such as "Cancel markdown rendering" or "Raw Content" to the accessory toolbar. Cleanshot-2023-12-02-at-22 07 20@2x

📝 Additional Information |

No response

lobehubbot commented 9 months ago

👀 @zhuozhiyongde

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

mushan0x0 commented 9 months ago
image

点编辑就是纯文本了

zhuozhiyongde commented 9 months ago

image 点编辑就是纯文本了

草,没想到还有这个用途,感谢!

lobehubbot commented 9 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image Click edit and it will be plain text

Damn, I didn’t expect it to be used for this, thank you!

lobehubbot commented 9 months ago

✅ @zhuozhiyongde

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

zhuguangping commented 8 months ago

image 点编辑就是纯文本了

请问可以纯文本渲染吗?

lobehubbot commented 8 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image Click edit and it will be plain text

Is it possible to render plain text?