Folding front-matter? #16

Closed
opened 2026-10-05 02:22:18 +02:00 by adam · 7 comments
Owner

Would you be open to a pull request that adds fold support for front matter in markdown files?

Would you be open to a pull request that adds fold support for front matter in markdown files? <!-- github-sync-id:732714957 -->
adam closed this issue 2026-10-05 02:22:18 +02:00
Author
Owner

Of course, that would be a great enhancement!

Of course, that would be a great enhancement! <!-- github-comment-id:719364193 -->
Author
Owner

Right on, I'm almost done with implementing it a separate extension, and then will push here.

The logic to get it to be foldable is quite easy. Harder is auto-folding, which isn't natively supported by VSCode.

Right on, I'm almost done with implementing it a separate extension, and then will push here. The logic to get it to be foldable is quite easy. Harder is auto-folding, which isn't natively supported by VSCode. <!-- github-comment-id:721316441 -->
Author
Owner

Great news! Looking forward to the PR.

Great news! Looking forward to the PR. <!-- github-comment-id:721364374 -->
Author
Owner

@bs did you ever happen to finish this?

@bs did you ever happen to finish this? <!-- github-comment-id:780828234 -->
Author
Owner

It was left at half-working prototype before I moved physical locations twice. :)

It was left at half-working prototype before I moved physical locations twice. :) <!-- github-comment-id:785477456 -->
Author
Owner

All the best at your new location!

If you still are interested in adding the functionality. Always welcome to do so! 🙏

All the best at your new location! If you still are interested in adding the functionality. Always welcome to do so! 🙏 <!-- github-comment-id:786649939 -->
Author
Owner

Released in v2.4.0

Released in v2.4.0 <!-- github-comment-id:899405497 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#16