Edditoria / markdown-plus-plus

Markdown syntax highlighting for Notepad++, by customized UDL file (user defined language)
MIT License
1.5k stars 277 forks source link

section/code folding was not supportted #32

Closed justbeay closed 5 years ago

justbeay commented 7 years ago

please provide such a function which support code block or chapter and section folding, that would helps a lot...

Edditoria commented 5 years ago

Folding in UDL requires open and close keywords. Seems it is not possible to fold headings # or ====/---- because the syntax does not have any closing keyword.

For code block, I considered it as important part for whole document. So there is no need to hide it. Wait to see other people who really need it?

Update: In some situation, Notepad++ will fold it incorrectly. Missing information is far more risky than folding feature. Wait for an update on Notepad++.

screenshot 2018-12-22 at 5 32 44 pm

Label it as "Status: Idle", and close this issue right now. Will check again in future.