Skip to content

Instantly share code, notes, and snippets.

@gbraad
Last active March 2, 2025 19:06
Show Gist options
  • Save gbraad/216f8162d9b382d14b8a097a37cc2c72 to your computer and use it in GitHub Desktop.
Save gbraad/216f8162d9b382d14b8a097a37cc2c72 to your computer and use it in GitHub Desktop.
Buy Me a Coffee

Buy Me a Coffee

Using inlined HTML

Buy Me A Coffee

<a href="https://www.buymeacoffee.com/gbraad" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

Using Markdown

"Buy Me A Coffee"

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/gbraad)

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://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/gbraad){:target="_blank"}

if the text gets printed you are out of luck.

@zincplusplus
Copy link

Thank you 🙏

@jwson-automation
Copy link

감사합니다!

@kevinjamau
Copy link

Great, you saved my time , Thank you

@EliasPereirah
Copy link

Very cool, is there any way to center it horizontally?

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