markdown-it / markdown-it-emoji

Emoji syntax plugin for markdown-it markdown parser
https://markdown-it.github.io/
MIT License
719 stars 167 forks source link

Make emoji rule work on real emoji #31

Closed rickharris closed 6 years ago

rickharris commented 6 years ago

Sometimes markdown authors use real emoji, and it's incredibly useful to be able to change the output of real emoji as well as emojis that are the result of shorthand and shortcuts.

Uses https://github.com/mathiasbynens/emoji-regex, which could possibly be inlined if adding a dependency is a no-go.

Thanks for the great project!

puzrin commented 6 years ago

I don't like such functionality here, it's out of package scope. IMHO it worth to keep it in separate plugin.