Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD037 false positive with emojis containing odd number of underscore on same line #408

Closed
EnigmaTriton opened this issue Jun 29, 2021 · 3 comments

Comments

@EnigmaTriton
Copy link

For example

:ballot_box_with_check: _Somewhat important task_

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
Copy link
Owner

Please see #324 for a discussion of this kind of issue.

@DavidAnson
Copy link
Owner

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
Copy link
Author

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. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants