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

[Request] 在结果部分展示 Markdown 解析后的图片 #1

Closed
arvinxx opened this issue Dec 11, 2023 · 6 comments
Closed

[Request] 在结果部分展示 Markdown 解析后的图片 #1

arvinxx opened this issue Dec 11, 2023 · 6 comments

Comments

@arvinxx
Copy link

arvinxx commented Dec 11, 2023

🥰 需求描述 | Feature Description

建议在结果部分展示 Markdown 解析后的图片:

image

🧐 解决方案 | Proposed Solution

可以使用 Lobe UI 的 Markdown 组件: https://ui.lobehub.com/components/markdown

📝 补充信息 | Additional Information

No response

@arvinxx arvinxx changed the title [Request] [Request] 在结果部分展示 Markdown 解析后的图片 Dec 11, 2023
@mushan0x0
Copy link
Owner

我试了的,因为插件界面是 iframe,弹出层不能覆盖的外面界面,加上下面 gpt 会回复一个图片,所以只展示参数就行了
image

@arvinxx
Copy link
Author

arvinxx commented Dec 11, 2023

那我建议直接回复一个链接吧。这样用户可以点这个链接去新开页面看大图?

@mushan0x0
Copy link
Owner

不过界面上可以把这个删掉,因为链接很长,又是没有渲染的 md 语法
image

@mushan0x0
Copy link
Owner

具体返回然后看 debug 信息就行了

@arvinxx
Copy link
Author

arvinxx commented Dec 29, 2023

考虑下换成新的 markdown 类型插件?感觉上面的问题在md 插件下都迎刃而解了

lobehub/lobe-chat#865

@mushan0x0
Copy link
Owner

考虑下换成新的 markdown 类型插件?感觉上面的问题在md 插件下都迎刃而解了

lobehub/lobe-chat#865

这个不错👍

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

2 participants