Skip to content
New issue

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

MD041 (first-line-h1) and HTML comments #37

Closed
EvgenyOrekhov opened this issue Dec 3, 2016 · 1 comment
Closed

MD041 (first-line-h1) and HTML comments #37

EvgenyOrekhov opened this issue Dec 3, 2016 · 1 comment

Comments

@EvgenyOrekhov
Copy link

I find it convenient to disable some rules for the whole file by adding a markdownlint marker to the top of the file (as I would do with JSLint directives, for example):

<!-- markdownlint-disable line-length -->
# Header

...

But this violates MD041 (first-line-h1) rule.
I think MD041 (first-line-h1) should ignore HTML comments.

@DavidAnson
Copy link
Owner

Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants