X-MARKDOWN
#1810
Replies: 2 comments
-
|
Hi @12123456! I'm Dosu and I’m helping the x team. X-Markdown 和 GPT-Vis 不是二选一的关系,而是互补的,可以配合使用。
通过 X-Markdown 的 import XMarkdown from '@ant-design/x-markdown';
import { Line } from '@antv/gpt-vis';
<XMarkdown components={{ 'custom-line': LineCompt }}>
{content}
</XMarkdown>这样在 AI 聊天界面中,可以同时展示格式化文本和数据图表。 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
0 replies
-
不是二选一,更多是职责不同、可以组合用: x-markdown 更偏 通用 Markdown 渲染(流式 + 可扩展) 实际上常见用法是: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi,在内容展示上,x-markdown和gpt-vis是二选一嘛
Beta Was this translation helpful? Give feedback.
All reactions