[GH-ISSUE #475] MD043: Add an ability to specify exactly one arbitrary heading #2238

Closed
opened 2026-03-07 20:05:52 +03:00 by kerem · 0 comments
Owner

Originally created by @EmilyGraceSeville7cf on GitHub (Jan 6, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/475

Question mark may be used to specify exactly one arbitrary heading in MD043:

required-headings:
  headings:
    - "?"
    - "## Description"
    - "## Usage"
    - "## Supported environments and examples"

It would be useful when the first header is a program name like here.

Originally created by @EmilyGraceSeville7cf on GitHub (Jan 6, 2022). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/475 Question mark may be used to specify exactly one arbitrary heading in MD043: ```yml required-headings: headings: - "?" - "## Description" - "## Usage" - "## Supported environments and examples" ``` It would be useful when the first header is a program name like [here](https://github.com/Console-Utils/fish-configs).
kerem 2026-03-07 20:05:52 +03:00
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#2238
No description provided.