dannyfritz/commit-message-emoji

Emojis are not pasteable from Github

dandv opened this issue ยท 6 comments

dandv commented

I've just tried copy/pasting the emojis from the table, but it looks like GFM renders them with an alt text, e.g. tada for ๐ŸŽ‰. Saw #4 and the README - the characters are Unicode, not :basecamp:.

They actually already are unicode characters in the README. Unless there is a different way to escape the characters.

dandv commented

When I paste them in a text editor, I get the alt text:

image

Turns out GitHub does something to them:

image

While I have confirmed the behavior you are stating, know that the characters in the README.md file are Unicode and not basecamp codes.

@dandv couple of alternatives you can try (I also used to google this project frequently):

  • I keep a "Legend" section at the top of the CHANGELOG so the meaning is documented for the project team AND emoji are readily available to copy paste.
  • If you're on Linux / Gnome (think you are from the first screenshot), you can install & use the Emoji Selector Gnome extension, then use the system hotkey (SUPER+E for me) and type your commit label eg "version", "feature", "bug" as it recognises those terms.

This is really an issue with Github. I don't think they will fix it anytime soon as they probably want to keep replacing Unicode emoji with their own for consistency and compatibility reasons.

Looks like GitHub renders actual emoji in the README's now. Reopen if you see otherwise.