Skip to content

Instantly share code, notes, and snippets.

@koconder
Last active January 3, 2024 00:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koconder/33fb4367bd4347694f78f5081d4f85a1 to your computer and use it in GitHub Desktop.
Save koconder/33fb4367bd4347694f78f5081d4f85a1 to your computer and use it in GitHub Desktop.
Buy Me A Coffee - Sheilds.io Small Style

Buy Me a Coffee

This is unsing the "smaller" style of sheilds.io which most developers like to use.

Using inlined HTML

Buy Me A Coffee

<a href="https://www.buymeacoffee.com/koconderi" target="_blank"><img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee" alt="Buy Me A Coffee"></a>

Using Markdown

"Buy Me A Coffee"

[!["Buy Me A Coffee"](https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee)](https://www.buymeacoffee.com/koconderi)

Note: the option target=_blank is not part of the standard Markdown defintion, so I added the extension option but this might not be supported by the parser. You can test this by using:

[!["Buy Me A Coffee"](https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee)](https://www.buymeacoffee.com/koconderi){:target="_blank"}

if the text gets printed you are out of luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment