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

除了img标签外,可以添加其他能渲染的标签吗🤔 #4449

Open
1 task done
holzora opened this issue Dec 19, 2024 · 0 comments
Open
1 task done

除了img标签外,可以添加其他能渲染的标签吗🤔 #4449

holzora opened this issue Dec 19, 2024 · 0 comments
Labels
需求 F.用户提出的功能意见

Comments

@holzora
Copy link

holzora commented Dec 19, 2024

确认 / Assignments

  • 搜索现有issues,不存在相似或相关的issue / No related requests

功能描述 / Features

现有的正文阅读的时候,文本里面的html标签除了img能保留下来渲染外,其他都是被忽略的,能否加个自定义标签来渲染其他效果?这样正文里面的玩法应该会很有趣,自由度也更高

期望实现方式 / How to implement

比如可以仿照html设置一个自定义标签<custom style=""></custom>,被标签包起来的内容在正文阅读的时候就按照html的渲染方法来

附加信息 / Additions

No response

效果演示 / Demo

比如这种中日对照阅读的情况,用<custom style="color: #999;">示例</custom>包起来的话,正文阅读时日文原文看起来就是灰色
Screenshot_2024-12-19-14-51-33-357_io legado app release

@holzora holzora added the 需求 F.用户提出的功能意见 label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
需求 F.用户提出的功能意见
Projects
None yet
Development

No branches or pull requests

1 participant