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

Collapsable Markdown Headers/Lists #882

Open
wbrenton opened this issue Apr 1, 2024 · 1 comment
Open

Collapsable Markdown Headers/Lists #882

wbrenton opened this issue Apr 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wbrenton
Copy link

wbrenton commented Apr 1, 2024

Has anyone experimented with enabling Headers or lists in markdown to be collapsible/expandable as they are in Obsidian or Roam Research?

For very long posts this would be a very nice addition, making it easier for the reader to get a feel for the post as a whole and compartmentalize it in the way the author intended.

@timlrx timlrx added the enhancement New feature or request label Apr 17, 2024
@timlrx
Copy link
Owner

timlrx commented Apr 17, 2024

You could consider adding a rehype plugin that nests the contents under a header to a details tag

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

2 participants