mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #408] MD037 false positive with emojis containing odd number of underscore on same line #338
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#338
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 @EnigmaTriton on GitHub (Jun 29, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/408
For example
gives a warning for
_check: _while the line is perfectly recognized by VSCode (and obviously github) as:☑️ Somewhat important task
I can work it out using asterisks (or
:white_check_mark:which contains an even number of underscores for this exact purpose) but I tend to use_emphasis_and**strong**to make it more obvious when editing source so this issue is slightly annoying.On the other hand I'm not sure that emojis are part of the Common Mark specification so it might be an improvement request or even downright invalid request.
@DavidAnson commented on GitHub (Jun 29, 2021):
Please see #324 for a discussion of this kind of issue.
@DavidAnson commented on GitHub (Jun 29, 2021):
In this case, ignoring words with internal
_would seem to help. I'll look for a way to do that without compromising the rule.@EnigmaTriton commented on GitHub (Jun 29, 2021):
Oh sorry, I searched for issues on MD037 but I probably forgot to remove the is:open part.
Much clearer, thanks and if you can take it into account anyway, then great. 👍