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] 代码块预览展开更多功能 #312

Open
geekswg opened this issue Mar 28, 2023 · 1 comment
Open

[FEATURE] 代码块预览展开更多功能 #312

geekswg opened this issue Mar 28, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@geekswg
Copy link

geekswg commented Mar 28, 2023

Describe the feature you want 描述你的功能需求

目前代码只有默认全部折叠或者全部折叠功能。
希望有超过预定行数时,代码快可以预览前多少行,然后有个展开按钮,不知这个功能是否好实现?
效果如csdn的代码块。
参考链接
QQ截图20230328151758

Useful reference 有价值的参考

No response

@geekswg geekswg added the enhancement New feature or request label Mar 28, 2023
@geekswg geekswg changed the title [FEATURE] 代码预览部分块展开功能 [FEATURE] 代码块预览展开更多功能 Mar 28, 2023
@lovelxc
Copy link

lovelxc commented Jun 27, 2023

https://jiridj.be/posts/collapsible-code-block/ 这个网址不知是否有用

@Lruihao Lruihao added this to the v0.3.x milestone Jul 24, 2024
@Lruihao Lruihao modified the milestones: v0.3.x, v0.4.x Nov 11, 2024
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

3 participants