Comments (6)
👀 @w840980261
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
from lobe-ui.
我思考下 ,目前默认走的是 md 的解析方式,语法上是双换行符才会真实换行,同时把多个换行都格式化为 2 个
from lobe-ui.
经过你的提醒,我发现gpt返回时的内容也因为这个解析方式换行显示异常。
预期效果
实际效果
from lobe-ui.
我思考下 ,目前默认走的是 md 的解析方式,语法上是双换行符才会真实换行,同时把多个换行都格式化为 2 个
我感觉还是得支持单换行,小红书这个场景用户也不用 markdown 的,就是正常换行。
from lobe-ui.
Fixed: c5b4f6b
from lobe-ui.
✅ @w840980261
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
from lobe-ui.
Related Issues (20)
- [Request] 期望 Avatar 组件支持传入 ReactNode,以进行自定义 HOT 3
- Lobe UI FOUC (flash of unstyled content) HOT 2
- [Question] difference between [pro-chat](https://pro-chat.antdigital.dev/components/editable-message-list)? HOT 3
- [Request] ChatItem/EditableMessage里的markdown增加图表展示 HOT 1
- [Request] this is no description of List, ListItemProps which were used in lobe chat HOT 1
- [Request] HOT 4
- [Question] 怎么在shadow dom中使用? HOT 1
- [RFC] Lobe UI 2.0 HOT 1
- [Question] 移动端无法显示 tooltip HOT 3
- [Request] : markdown不支持添加脚注 HOT 2
- [Question] 太喜欢这些icon了,不知道哪里才可以下载到这完整的包 HOT 3
- [Bug] 文档中CodeSandbox无法使用 HOT 1
- [Request] ActionIconGroup items support `disabled` prop HOT 2
- [Question] HOT 1
- [Bug] Highlighter 组件有 XSS 漏洞 HOT 2
- [Bug] 组件库文档打包失败 HOT 2
- [Question] mdx下有14个组件,文档里只有一个 HOT 1
- [Request] 内网环境无法使用组件 HOT 1
- [Bug] CodeEditor渲染有问题 会出现重影 HOT 1
- [Bug] firefox context menu position issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lobe-ui.