sindresorhus/refined-github

Render :emoji: codes where not natively supported #3744

KaKi87 posted onGitHub

GitHub displays emoji codes (e.g. : :bug:) as emoji icons (e.g. : :bug:), almost everywhere :

But not in :

The list is probably incomplete, but you get the idea.

Would Refined GitHub be suitable to fix it ?

This is mostly interesting when using the gitmoji project.

Thanks !


Thanks for the detailed request.

I'm not sure it's worth supporting emoji codes when one could just use the real emojis, but… I don't feel strongly about it.

posted by fregante over 4 years ago

Well, some git software and terminal emulators doesn't support or badly displays emojis, either because of encoding issues, or because of font issues, that's why I (and some gitmoji users) use emoji codes instead, which, for instance, are fully supported in Gitea (a self-hosted alternative to GitHub, like GitLab but 100% FLOSS).

Thanks

posted by KaKi87 over 4 years ago

Is there something I can do to make it happen ? Thanks.

posted by KaKi87 over 4 years ago

There’s a feature called “format-discussion-titles” I think which you can extend with this. As for GitHub Actions, I’m afraid that it might slow down the page when the log is long.

posted by fregante over 4 years ago

Oh, I really wanted to try doing it, but I just discovered you're using TypeScript and I really hate that thing, I'm truly sorry :cry:

posted by KaKi87 over 4 years ago

@yakov116 I noticed, but the 2 example links are unchanged.

posted by fregante about 4 years ago

Emojis are the future. Not worth supporting the past here, sorry.

posted by fregante over 3 years ago

There are interfaces that renders unicode emojis badly especially in terminal emulators and native apps, that's why emoji codes are preferred.

posted by KaKi87 over 3 years ago

I know, those should be fixed or replaced instead.

posted by fregante over 3 years ago

Agreed, but it's much more work than making GitHub render emoji codes. Additionally, emoji codes features cross-platform autocompletion, while autocompleting unicode emojis usually require specific software on each operating system.

posted by KaKi87 over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests