CotEditor
CotEditor copied to clipboard
[highlight] `#` in code block in markdowns are incorrectly inferred as an h1 section in the outline menu / inspector
Environment
- CotEditor: 3.4.1 (253)
- System: macOS Version 10.13.4 (Build 17E202)
- Language: English
Short Description
#
in code block in markdowns are incorrectly inferred as an h1 section in the outline menu / inspector
Steps to Reproduce the Issue
- change syntax to markdown
- add a code block such as
# a comment
Expected Result
in the outline menu, or in the outline inspector, there should not be an h1 section titled "a comment".
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.
Please implement this feature.