-
Notifications
You must be signed in to change notification settings - Fork 429
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
是否可以加入 codeblock 的 fold 功能 #178
Comments
Thanks for opening this issue, maintainers will get back to you as soon as possible! |
已经有这个功能了
|
代码折叠,有些代码特别长,挂上去以后影响阅读,想要的应该是代码的部分折叠,这个已有的功能是全部折叠 |
我的个人观点: |
可以给个是否进行折叠的开关,根据代码长度和配置项,自动确定是否折叠展示还是展示全部。当然折叠按钮可以在所有的代码块展示。 |
添加了,欢迎测试: #679 |
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs. |
加入codeblock 的折叠功能。
具体来说可以参考 theme butterfly 的 highlight_shrink 功能。
附上 该主题的 git地址 https://github.com/jerryc127/hexo-theme-butterfly/
感谢开发者
The text was updated successfully, but these errors were encountered: