mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #653] MD026 Breaks GitHub emoji #2337
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#2337
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 @dserodio on GitHub (Nov 23, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/653
I have a few headers that end in GitHub Emoji, eg.:
# Known Issues :bug:Which GitHub renders as:
Known Issues 🐛
However, MD026 is "fixing" this as:
# Known Issues :bug, which is not an actual fix, since it renders as:Known Issues :bug
@DavidAnson commented on GitHub (Nov 23, 2022):
GitHub emoji are not part of the CommonMark specification. If you used a markdown-it plugin that recognized them, I think this issue would not get flagged.
@DavidAnson commented on GitHub (Nov 23, 2022):
This might work based on the description: https://www.npmjs.com/package/markdown-it-emoji
@DavidAnson commented on GitHub (Nov 23, 2022):
Duplicate of linked issue.
@dserodio commented on GitHub (Nov 23, 2022):
Thanks, and sorry for the dupe. I had searched for
MD026and didn't find anything