Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

[Feature Request] Show heading-folding toggles always #297

Open
davemacdo opened this issue Jan 13, 2020 · 1 comment
Open

[Feature Request] Show heading-folding toggles always #297

davemacdo opened this issue Jan 13, 2020 · 1 comment

Comments

@davemacdo
Copy link

Issue

I find it frustrating that I can open a collapsed heading by clicking the "folded" symbol in the left-hand gutter, but that the toggle disappears and I can't recollapse it after. I know the commands to close and open are available, but I would like to have the toggle show all the time (or at least on hover) as when writing code with indents.

Proposed solution

I would like to either by default or optionally enable heading folding toggles displayed for all headings that would show expand/collapse state.

Alternatives

I haven't yet found another package that includes this feature for Markdown, though the feature is part of the core in similar circumstances.

As you can see in this screenshot, if I indent the UL, I can get the desired behavior from the heading, but obviously, that's different Markdown.

Screen Shot 2020-01-12 at 7 59 05 PM

@zhuochun
Copy link
Owner

At the time when I implemented the folding command, I have not figured out how to register the toggle automatically.

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

No branches or pull requests

2 participants