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] 可以加一个启用渲染(比如html)的选项吗? #1938

Closed
CoREse opened this issue Apr 9, 2024 · 5 comments
Closed

[Request] 可以加一个启用渲染(比如html)的选项吗? #1938

CoREse opened this issue Apr 9, 2024 · 5 comments
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive No response in 30 days | 超过 30 天未活跃

Comments

@CoREse
Copy link

CoREse commented Apr 9, 2024

🥰 需求描述

#217 (comment) 所提到的,以前对于未被代码块包括的包括html标签是会被渲染的,这当然很影响程序稳定性,但后来一刀切都砍掉了,却使它少了一个功能。比如说如果我想让chatgpt输出html标签的结果(比如<ruby>标签添加拼音),结果是不会被渲染的。如果能在句子菜单里加上一个启动渲染的选项就好了。感谢!
实现起来应该也不难,加个选项不让这一句进行#217 (comment) 添加上的转义之类的处理就ok了。

🧐 解决方案

在每句的...菜单以及助手设置界面添加“启用渲染”的选项。

📝 补充信息

No response

@CoREse CoREse added the 🌠 Feature Request New feature or request | 特性与建议 label Apr 9, 2024
@lobehubbot
Copy link
Member

👀 @CoREse

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

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


🥰 Description of requirements

As mentioned in #217 (comment), in the past, html tags that were not included in the code block would be rendered, which of course affected the stability of the program. Sex, but then cutting it off across the board left it with one less function. For example, if I want chatgpt to output the results of html tags (such as <ruby> tags with pinyin added), the results will not be rendered. It would be nice if there was an option to start rendering in the sentence menu. grateful!
It shouldn't be difficult to implement. Just add an option to prevent this sentence from being processed by #217 (comment). Adding escaping and other processing will be ok.

🧐 Solution

Add the "Enable Rendering" option to the... menu of each sentence and the assistant settings interface.

📝 Supplementary information

No response

@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label Jun 9, 2024
@arvinxx
Copy link
Contributor

arvinxx commented Sep 23, 2024

如果你需要 Artifacts 类似的功能,目前已经实现了,这个issue先关了。如果有另外的诉求可以再 reopen

@arvinxx arvinxx closed this as completed Sep 23, 2024
@lobehubbot
Copy link
Member

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


If you need similar functionality to Artifacts, it has been implemented so far, so this issue will be closed first. You can reopen if you have other demands.

@lobehubbot
Copy link
Member

@CoREse

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive No response in 30 days | 超过 30 天未活跃
Projects
None yet
Development

No branches or pull requests

3 participants