coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.46k stars 431 forks source link

[highlight] `#` in code block in markdowns are incorrectly inferred as an h1 section in the outline menu / inspector #822

Open yangvz opened 6 years ago

yangvz commented 6 years ago

Environment

Short Description

# in code block in markdowns are incorrectly inferred as an h1 section in the outline menu / inspector

Steps to Reproduce the Issue

Expected Result

in the outline menu, or in the outline inspector, there should not be an h1 section titled "a comment".

1024jp commented 6 years ago

Unfortunately, I have to say it is currently by design. Sorry.

To fix this behavior, CotEditor needs first to change syntax parsing algorithms. I know I need to do it at some time point in the future, but it's still under consideration.

diethardsteiner commented 5 years ago

Please implement this feature.