mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 01:05:55 +03:00
[GH-ISSUE #999] MD037: Do not scan emphasis markers in HTML tags #2436
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2436
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PlanMan1717 on GitHub (Oct 11, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/999
Description
This is some code I wrote that overrides some default styling with markdown-preview-enhanced by injecting a
<style>tag.The warning on line 63 is MD033 (no Inline HTML)
The warning on line 65 is MD037 (no space in emphasis)
This error should not be triggered in any HTML tag
Affected tags
etc...
Note: this problem does not occur in fenced code blocks of html
My setup
I use VS Code with markdownlint v0.52.0, Markdown Preview Enhanced, Markdown All in One, Markdown Emoji, and Markdown Extended