[GH-ISSUE #255] Inline rule ignore #218

Closed
opened 2026-03-03 01:24:48 +03:00 by kerem · 2 comments
Owner

Originally created by @t-rad679 on GitHub (Feb 13, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/255

Hello!

I'd like to be able to ignore specific rules for specific sections of a markdown file. In particular, the use case I have now is in a styleguide itself. I'd like to leave the rules on overall, but exempt demonstration blocks where it is intentionally incorrect to show how not to do it. Is this possible?

Originally created by @t-rad679 on GitHub (Feb 13, 2020). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/255 Hello! I'd like to be able to ignore specific rules for specific sections of a markdown file. In particular, the use case I have now is in a styleguide itself. I'd like to leave the rules on overall, but exempt demonstration blocks where it is intentionally incorrect to show how not to do it. Is this possible?
kerem 2026-03-03 01:24:48 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Feb 13, 2020):

Yes, it’s documented here: https://github.com/DavidAnson/markdownlint/blob/master/README.md#configuration

<!-- gh-comment-id:585905023 --> @DavidAnson commented on GitHub (Feb 13, 2020): Yes, it’s documented here: https://github.com/DavidAnson/markdownlint/blob/master/README.md#configuration
Author
Owner

@t-rad679 commented on GitHub (Feb 13, 2020):

Oh cool! Thanks! I googled it and didn't find anything so I figured it didn't exist.

<!-- gh-comment-id:585948688 --> @t-rad679 commented on GitHub (Feb 13, 2020): Oh cool! Thanks! I googled it and didn't find anything so I figured it didn't exist.
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#218
No description provided.