[GH-ISSUE #12] Allow atx_closed with setext in rule MD003 #1857

Closed
opened 2026-03-07 20:02:09 +03:00 by kerem · 1 comment
Owner

Originally created by @ciwchris on GitHub (Feb 23, 2016).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/12

Currently rule MD003 has the style option of setext_with_atx, but this does not allow atx_closed to be used with setext. Either adding a new style of setext_with_atx_closed to the rule or allowing atx_closed be acceptable when using the style setext_with_atx would be nice. Thoughts? Is there a preference one way or the other?

Originally created by @ciwchris on GitHub (Feb 23, 2016). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/12 Currently rule MD003 has the style option of `setext_with_atx`, but this does not allow `atx_closed` to be used with `setext`. Either adding a new style of `setext_with_atx_closed` to the rule or allowing `atx_closed` be acceptable when using the style `setext_with_atx` would be nice. Thoughts? Is there a preference one way or the other?
kerem 2026-03-07 20:02:09 +03:00
Author
Owner

@DavidAnson commented on GitHub (Feb 24, 2016):

My preference is for setext_with_atx_closed because it gives the most control and doesn't change the meaning of an existing option.

<!-- gh-comment-id:188072536 --> @DavidAnson commented on GitHub (Feb 24, 2016): My preference is for `setext_with_atx_closed` because it gives the most control and doesn't change the meaning of an existing option.
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#1857
No description provided.