-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add logo support #41
Comments
This is similar to #43 in terms of embedding an image via URL(?), although the location would be fixed with this. It would be nice to have pre-defined locations (e.g. left or right). A basic first stab at the tasks:
|
Images can be embedded into the SVG to make them self-contained using an image tag with <image width="100" height="100" xlink:href="data:image/png;base64,..."> |
I really appreciate anybadge generating static SVGs. Part of its appeal to me over Shields.io (while awesome!) is that image is just loaded as-is. My project's CI job(s) will update badges with new content. Personal preference would be to avoid fetching the icon every time the image is loaded. However, I do like pretty icons as well! I notice that https://simpleicons.org/ provides (free?) SVGs. What if anybadge downloaded the requested icon and embedded it in the output SVG? |
+1 |
This site has a lot of examples: https://github.com/Naereen/badges Some include icons and embedded PNG images. |
It would be nice to have the option to include logos in badges.
The text was updated successfully, but these errors were encountered: