Naereen / badges

:pencil: Markdown code for lots of small badges :ribbon: :pushpin: (shields.io, forthebadge.com etc) :sunglasses:. Contributions are welcome! Please add yours!
https://naereen.github.io/badges/
MIT License
4.31k stars 547 forks source link

Website up/down with domain-name #57

Closed anionDev closed 2 years ago

anionDev commented 2 years ago

The usual Website up/down badge markdown-content looks like

[![example.com](https://img.shields.io/website-up-down-green-red/https/example.com.svg)](https://example.com/)

which results in: image

This is nice but not ideal when you use this badge multiple times (with different domains): You do not know which website is up and which is down (except you hover over it to see the link).

It seems that the text in the square-brackets at the beginning does not have any effect. The left text in the badge is always website.

So: Is the text website customizable? It would be nice if we are at least able to set the domain-name as text for the left part to have a badge-text like "example.com | up".

Naereen commented 2 years ago

Hello there @anionDev, Thanks for your question. Using shields.io badges, it seems impossible to do what you are looking for: Capture d’écran de 2022-05-29 11-57-49 See documentation online at https://shields.io/category/monitoring. Regards.

anionDev commented 2 years ago

Ok. Anyway, thank you for your answer!