[GH-ISSUE #19] It would be nice if MD002 could be configured #14

Closed
opened 2026-03-03 01:23:01 +03:00 by kerem · 7 comments
Owner

Originally created by @GarthDB on GitHub (May 10, 2016).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/19

When I use markdown files in a static site generator I usually have a template use the title as an h1; I'd like to configure MD002 to check if an h2 is used first.

Originally created by @GarthDB on GitHub (May 10, 2016). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/19 When I use markdown files in a static site generator I usually have a template use the title as an h1; I'd like to configure MD002 to check if an h2 is used first.
kerem 2026-03-03 01:23:01 +03:00
Author
Owner

@DavidAnson commented on GitHub (May 10, 2016):

Seems reasonable, but it plays havoc with the name of the rule, first-header-h1. :) I may introduce an alias for this rule so it's less confusing when used with an h2. Thanks!

<!-- gh-comment-id:218063900 --> @DavidAnson commented on GitHub (May 10, 2016): Seems reasonable, but it plays havoc with the name of the rule, first-header-h1. :) I may introduce an alias for this rule so it's less confusing when used with an h2. Thanks!
Author
Owner

@GarthDB commented on GitHub (May 10, 2016):

Sounds good.

<!-- gh-comment-id:218065206 --> @GarthDB commented on GitHub (May 10, 2016): Sounds good.
Author
Owner

@DavidAnson commented on GitHub (Jul 5, 2016):

I decided not to alias the name, but to normalize the description a bit. I also changed the MD025 and MD041 rules in a similar manner.

<!-- gh-comment-id:230396549 --> @DavidAnson commented on GitHub (Jul 5, 2016): I decided not to alias the name, but to normalize the description a bit. I also changed the MD025 and MD041 rules in a similar manner.
Author
Owner

@GarthDB commented on GitHub (Jul 5, 2016):

Ah, excellent! Thanks @DavidAnson!

<!-- gh-comment-id:230396911 --> @GarthDB commented on GitHub (Jul 5, 2016): Ah, excellent! Thanks @DavidAnson!
Author
Owner

@GarthDB commented on GitHub (Jul 5, 2016):

What's the release schedule like? I'd like to make a pull request to update it in atom-linter-node-markdownlint.

<!-- gh-comment-id:230397507 --> @GarthDB commented on GitHub (Jul 5, 2016): What's the release schedule like? I'd like to make a pull request to update it in [atom-linter-node-markdownlint](https://github.com/josa42/atom-linter-node-markdownlint).
Author
Owner

@DavidAnson commented on GitHub (Jul 5, 2016):

I published version 0.2.0 a few minutes ago. :)

<!-- gh-comment-id:230622512 --> @DavidAnson commented on GitHub (Jul 5, 2016): I published version `0.2.0` a few minutes ago. :)
Author
Owner

@GarthDB commented on GitHub (Jul 27, 2016):

I just made a pull request to the ruby implementation mirroring these changes; hopefully, it's accepted.

https://github.com/mivok/markdownlint/pull/142

<!-- gh-comment-id:235670886 --> @GarthDB commented on GitHub (Jul 27, 2016): I just made a pull request to the [ruby implementation](https://github.com/mivok/markdownlint/) mirroring these changes; hopefully, it's accepted. https://github.com/mivok/markdownlint/pull/142
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#14
No description provided.