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

[Features]: 请求增加代码折叠功能 #371

Open
sjhsbhqf opened this issue Jan 9, 2025 · 0 comments
Open

[Features]: 请求增加代码折叠功能 #371

sjhsbhqf opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sjhsbhqf
Copy link

sjhsbhqf commented Jan 9, 2025

可以仿照obsidian中的code style插件。

当在代码格式符第一行那里,编程语言标识后面加上 fold 时,代表这个代码块被定义为可以被折叠的。

比如说

```python fold
test1 =1
```

因为我有时候会把长代码直接放在md文档中,这个特性对我很重要。也会极大地增加yn的可用性!!

非常感谢!!!非常抱歉,不知道怎么更改🏷标签,添加了BUG不会改。

@sjhsbhqf sjhsbhqf added the bug Something isn't working label Jan 9, 2025
@purocean purocean added enhancement New feature or request and removed bug Something isn't working labels Jan 16, 2025
@purocean purocean added this to V3 Jan 16, 2025
@purocean purocean moved this to To do in V3 Jan 16, 2025
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
Status: To do
Development

No branches or pull requests

2 participants