[GH-ISSUE #161] MD033 for <details> <summary> #1986

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

Originally created by @OzakIOne on GitHub (Dec 23, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/161

I wrote a guide in markdown and i did a FAQ , but the problem was i needed to hide it and the only solution was to use inline html elements such as

and but it detects it as MD033, it should have exeptions sometimes when there is no better way to do it with html

Originally created by @OzakIOne on GitHub (Dec 23, 2018). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/161 I wrote a guide in markdown and i did a FAQ , but the problem was i needed to hide it and the only solution was to use inline html elements such as <details> and <summary> but it detects it as MD033, it should have exeptions sometimes when there is no better way to do it with html
kerem 2026-03-07 20:03:24 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Dec 29, 2018):

The allowed_elements property of MD033 allows you to ignore a list of elements for cases like this. More info: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md033---inline-html

<!-- gh-comment-id:450505246 --> @DavidAnson commented on GitHub (Dec 29, 2018): The `allowed_elements` property of MD033 allows you to ignore a list of elements for cases like this. More info: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md033---inline-html
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#1986
No description provided.