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

Support for Code Folding on Markdown Headings #223

Closed
4 tasks done
dev-nicolaos opened this issue Aug 30, 2022 · 0 comments · Fixed by #226
Closed
4 tasks done

Support for Code Folding on Markdown Headings #223

dev-nicolaos opened this issue Aug 30, 2022 · 0 comments · Fixed by #226

Comments

@dev-nicolaos
Copy link

Initial checklist

Problem

I have a large chunk of content on the page that I want to temporarily ignore so that I can more easily focus on other content. This content all rolls up under one markdown heading (specified by #).

Solution

This plugin could (maybe, idk on a technical level, but trying to answer the prompt) implement VSCode's code folding feature to allow me to temporarily hide the content. This is currently possible in raw markdown files, and inside JSX blocks in MDX files.

Alternatives

Not sure if the move in MDX2 to be more JSX and less HTML based makes this harder to implement. I'm open to alternative solutions, but code folding seems to be the standard way this problem is solved typically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant