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

The markdown folding doesn't work consistently for "#" and "=" #2973

Closed
academyofzhuang opened this issue May 23, 2016 · 3 comments · Fixed by #3841
Closed

The markdown folding doesn't work consistently for "#" and "=" #2973

academyofzhuang opened this issue May 23, 2016 · 3 comments · Fixed by #3841

Comments

@academyofzhuang
Copy link

The markdown folding doesn't work consistently for "#" and "="

# article 1
A Paragraph.
## level 2
A Paragraph.

# article 2
A Paragraph.

When I click the fold icon at the left of article one, I expect it to fold all lines till article 2. Current behavior is to fold all lines till level 2.

However, this works as expected.

article 1
======
A Paragraph.
level 2
--------
A Paragraph.

article 2
======
A Paragraph.
@stefanvollmar
Copy link

Congratulations for an extremely useful package - thank you!

However, I have also observed the behaviour described in #2973 - it is very unfortunate because for our use case it really degrades the user experience of an otherwise excellent tool.

I can add that:

# heading 1
## heading 2
something
### heading 3
#### heading4
other

will display folding icons at headings 1, 3 and 4 which do nothing at all. I might try to fix this myself if given some pointers. Many thanks in advance!

@nightwing
Copy link
Member

Thanks for suggestion of help, and for poking this issue.
Turned out it was very easy to fix #3841

@stefanvollmar
Copy link

Excellent - thank you very much!

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

Successfully merging a pull request may close this issue.

3 participants