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

Improve HTML details-summary clipping #12106

Closed
TCOTC opened this issue Jul 27, 2024 · 1 comment
Closed

Improve HTML details-summary clipping #12106

TCOTC opened this issue Jul 27, 2024 · 1 comment
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jul 27, 2024

改进剪藏 HTML details 元素

  • <details> → 放进无序列表,折叠
  • <details open=""> → 放进无序列表,展开
  • <summary>foo</summary> 内的文本就是列表块的首个子块

01

https://simoncozens.github.io/feature-tags/

image

可以把圈起来的部分放到两个展开的无序列表块里:

image

02

https://ld246.com/article/1692089679062

image

可以把圈起来的部分放到一个折叠的无序列表块里:

image


关联 https://ld246.com/article/1722058786914

@88250
Copy link
Member

88250 commented Aug 10, 2024

折叠状态搞不了,这里只能按标准 Markdown 转换。

@88250 88250 self-assigned this Aug 10, 2024
@88250 88250 added this to the 3.1.4 milestone Aug 10, 2024
@88250 88250 changed the title 改进剪藏 HTML details 元素 Improve HTML details clipping Aug 10, 2024
@88250 88250 changed the title Improve HTML details clipping Improve HTML details-summary clipping Aug 10, 2024
@88250 88250 closed this as completed Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants