We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#
When using markdown syntax, lines started with # in code block unexpectedly get recognized as markdown titles.
This affect the most when writing bash script snippet in markdown:
# Creating Directory One can use `mkdir` to create a directory: ```bash # This create a new directory call `foo` in current directory mkdir foo ```
The above text snippet contains two lines that start with #:
The latter one is not a markdown title, but unexpectedly be recognized as one, as visualize in the following screenshot (highlighted with red arrow):
Create a new document.
Set syntax style to Markdown.
Paste the following text:
``` # This should not be tread as a title ## Same with two `#` ### or more # Adding a space before it won't ```
See error in outline.
Lines started with # in code block should not be recognized as markdown title.
4.5.5 (569)
macOS Version 12.6.5 (Build 21G531)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When using markdown syntax, lines started with
#
in code block unexpectedly get recognized as markdown titles.This affect the most when writing bash script snippet in markdown:
The above text snippet contains two lines that start with
#
:The latter one is not a markdown title, but unexpectedly be recognized as one, as visualize in the following screenshot (highlighted with red arrow):
To Reproduce
Create a new document.
Set syntax style to Markdown.
Paste the following text:
See error in outline.
Expected behavior
Lines started with
#
in code block should not be recognized as markdown title.CotEditor version
4.5.5 (569)
macOS version
macOS Version 12.6.5 (Build 21G531)
Additional context
No response
The text was updated successfully, but these errors were encountered: