Bugs

Collapsing headers shouldn't collapse line breaks

4y agoPending

If I have many nested headers I would like to have them separated from each other with few line breaks/paragraphs. But once headers are collapsed, all the line breaks become eaten and my note turns to a mess. For example:

# Section 1 ### Sub section 1 some text

### Sub section 2 some text

# Section 2

After collapsing sub sections, I have ``` # Section 1 ### Sub section 1 ### Sub section 2 # Section 2 ``` Which is really unreadable

Edit: apparently, I can't demonstrate the experience here, because the editor eats the line breaks too. I hope you get the idea – it's not possible to keep the headers spaced consistently while collapsing/uncollapsing them during the work process.

and 1 other

2 comments

  1. I know what you mean, thanks for sharing. And I like the idea of skipping the linebreaks, I wonder why I didn't think of it!

    1. Defake4y ago

      Eduard Metzger: Thanks, currently I found a workaround - to have a line with an empty header like "### " which keeps some space between paragraphs even when they are collapsed, so I guess it's not so critical. But of course it would be nice to have this fix