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

Feature request: Hide/Collapse entire blocks #198

Open
RednibCoding opened this issue Feb 15, 2024 · 1 comment
Open

Feature request: Hide/Collapse entire blocks #198

RednibCoding opened this issue Feb 15, 2024 · 1 comment

Comments

@RednibCoding
Copy link

RednibCoding commented Feb 15, 2024

Have you searched existing Github issues to see if someone has already requested this feature?
Yes

Describe the solution you'd like
Beeing able to hide/show blocks. Hidden blocks should be persistent accross restarts of heynote.

Describe alternatives you've considered
Currently i use a Plain Text block when i have notes in plain text that i want to be collapsable since Plain Text blocks always have a fold icon at the first line. Problem is that the state of folding is not persistent accross restarts of heynote. So when i restart heynote, i have to fold all notes again.

The solution could be to always show a fold icon at the start of a block, no matter what type of block. This fold state gets written to the buffer like so:

∞∞∞markdown*

Where the asterisk (or any other symbol indicates that the block is collapsed)

For this feature, i think feature #54 is important, or at least part of it. The part that the first line should be shown instead of the last line when a block is collapsed.

@RednibCoding RednibCoding changed the title Feature request: Hide entire blocks Feature request: Hide/Collapse entire blocks Feb 15, 2024
@hanoii
Copy link

hanoii commented Mar 1, 2024

Beeing able to hide/show blocks. Hidden blocks should be persistent accross restarts of heynote.

Yes, I also think this would be a great addition.

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

No branches or pull requests

2 participants