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

[Feature Request] artifacts 解析SVG代码 #5501

Open
ice-lemon opened this issue Sep 23, 2024 · 3 comments
Open

[Feature Request] artifacts 解析SVG代码 #5501

ice-lemon opened this issue Sep 23, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ice-lemon
Copy link

🥰 需求描述

参考Claude Artifacts 功能,自动识别SVG代码 提供预览、源码切换及文档(图片)下载功能
image

🧐 解决方案

在Artifacts 中添加识别SVG块的代码 并对其进行解析

📝 补充信息

No response

@ice-lemon ice-lemon added the enhancement New feature or request label Sep 23, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] artifacts Parse SVG code

🥰 Description of requirements

Refer to the Claude Artifacts function to automatically identify SVG codes and provide preview, source code switching and document (picture) download functions.
image

🧐 Solution

Add code in Artifacts to recognize SVG blocks and parse them

📝 Supplementary information

No response

@ice-lemon
Copy link
Author

image
补充:代码不含HTML部分,以<SVG……标准SVG代码开头

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


image
Supplement: The code does not contain the HTML part and starts with <SVG... standard SVG code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants