[GH-ISSUE #497] MD049 and MD050 do not enforce asterisk style #403

Closed
opened 2026-03-03 01:26:37 +03:00 by kerem · 2 comments
Owner

Originally created by @TheJaredWilcurt on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/497

Dependency versions:

  • markdownlint-cli: 0.30.0
    • markdownlint: 0.24.0
      • markdown-it: 12.2.0

Rules

# MD049 - Emphasis style should be consistent
emphasis-style:
  style: asterisk

# MD050 - Strong style should be consistent
strong-style:
  style: asterisk

Example

This should _fail_.

So should __this__.
Originally created by @TheJaredWilcurt on GitHub (Feb 4, 2022). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/497 ## Dependency versions: * **markdownlint-cli:** `0.30.0` * **markdownlint:** `0.24.0` * **markdown-it:** `12.2.0` ## Rules ```yml # MD049 - Emphasis style should be consistent emphasis-style: style: asterisk # MD050 - Strong style should be consistent strong-style: style: asterisk ``` ## Example ```md This should _fail_. So should __this__. ```
kerem 2026-03-03 01:26:37 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@TheJaredWilcurt commented on GitHub (Feb 4, 2022):

If this is already resolved in 0.25.0+, then this issue can be closed with:

<!-- gh-comment-id:1030254608 --> @TheJaredWilcurt commented on GitHub (Feb 4, 2022): If this is already resolved in 0.25.0+, then this issue can be closed with: * https://github.com/igorshubovych/markdownlint-cli/issues/257
Author
Owner

@DavidAnson commented on GitHub (Feb 5, 2022):

Right, the upcoming release of markdownlint-cli will include the version of the library that implements these rules.

<!-- gh-comment-id:1030487551 --> @DavidAnson commented on GitHub (Feb 5, 2022): Right, the upcoming release of markdownlint-cli will include the version of the library that implements these rules.
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#403
No description provided.