[GH-ISSUE #1143] MD033 : allowed_elements ignoring the <kdb> element #625

Closed
opened 2026-03-03 01:28:33 +03:00 by kerem · 4 comments
Owner

Originally created by @o0Sam0o on GitHub (Feb 29, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1143

Tested with other elements without issue but for some reason this one element is not being recognized.

Screenshot 2024-02-28 at 10 57 31 PM

Markdown

Editor - Go Back: <kbd> ⌃ Ctrl</kbd> + <kbd>_</kbd>

Configuration

{
  "default": true,
  "MD033": {
    "allowed_elements": ["kdb"]
  }
}
Originally created by @o0Sam0o on GitHub (Feb 29, 2024). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1143 Tested with other elements without issue but for some reason this one element is not being recognized. <img width="1440" alt="Screenshot 2024-02-28 at 10 57 31 PM" src="https://github.com/DavidAnson/markdownlint/assets/3577664/7feea1b4-9f42-48a9-93cb-798c798071e7"> Markdown ``` Editor - Go Back: <kbd> ⌃ Ctrl</kbd> + <kbd>_</kbd> ``` Configuration ``` { "default": true, "MD033": { "allowed_elements": ["kdb"] } } ```
kerem closed this issue 2026-03-03 01:28:34 +03:00
Author
Owner

@nschonni commented on GitHub (Feb 29, 2024):

Typo "kbd" vs "kdb"

<!-- gh-comment-id:1970359410 --> @nschonni commented on GitHub (Feb 29, 2024): Typo "kbd" vs "kdb"
Author
Owner

@nschonni commented on GitHub (Feb 29, 2024):

Typo "kbd" vs "kdb"

<!-- gh-comment-id:1970359437 --> @nschonni commented on GitHub (Feb 29, 2024): Typo "kbd" vs "kdb"
Author
Owner

@o0Sam0o commented on GitHub (Feb 29, 2024):

So sorry, been at it for hours and did not see the typo.

<!-- gh-comment-id:1970361608 --> @o0Sam0o commented on GitHub (Feb 29, 2024): So sorry, been at it for hours and did not see the typo.
Author
Owner

@theking2 commented on GitHub (Nov 17, 2024):

So sorry, been at it for hours and did not see the typo.

Please look again 😁

(The forth line in configuration)

<!-- gh-comment-id:2481119128 --> @theking2 commented on GitHub (Nov 17, 2024): > So sorry, been at it for hours and did not see the typo. Please look again 😁 (The forth line in configuration)
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#625
No description provided.