Skip to content

Plugins: fix linter complaining on bash comments in code blocks#811

Open
studokim wants to merge 2 commits intoSublimeText-Markdown:masterfrom
studokim:master
Open

Plugins: fix linter complaining on bash comments in code blocks#811
studokim wants to merge 2 commits intoSublimeText-Markdown:masterfrom
studokim:master

Conversation

@studokim
Copy link

Changes

  • embedded linter no longer complains on Bash- and Python-style comments in code blocks (previously it triggered the MD023 rule)

Before

line 22: MD023 - Headers must start at the beginning of the line, 6 spaces found

After

MarkdownLint: no errors found

@studokim
Copy link
Author

studokim commented Feb 25, 2026

I've done this at 2025-05-14 locally on my computer, and the solution works for almost a year with files up to (at least) 7000 lines. The comment is preserved in code, it's fine to remove it before merging.

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 this pull request may close these issues.

1 participant