Skip to content

Use python emoji package to support :emoji: format emojis #73

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

Open
jongracecox opened this issue Aug 14, 2022 · 0 comments
Open

Use python emoji package to support :emoji: format emojis #73

jongracecox opened this issue Aug 14, 2022 · 0 comments
Assignees

Comments

@jongracecox
Copy link
Owner

Is your feature request related to a problem? Please describe.
Make it easier to include emojis in badges by allowing :emoji: text in labels and values to be converted into the emoji character.

Some developer IDEs and consoles make it difficult to include emojis, so this would make it easier.

Describe the solution you'd like
Add new dependency: https://pypi.org/project/emoji/
Use emoji.emojize() on labels and values to switch emoji text to an emoji character.
Ensure that emojize is run before calculating badge dimensions.

Describe alternatives you've considered

  • Embed emoji svg characters directly into the project
  • Allow images / other svgs to be embedded

Additional context

Relates to #43 and suggested by @roipoussiere

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

1 participant