Skip to content

Instantly share code, notes, and snippets.

@gbraad
Last active May 12, 2024 09:13
Show Gist options
  • Star 75 You must be signed in to star a gist
  • Fork 12 You must be signed in to fork a gist
  • 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.

@Panthersoul
Copy link

Thanks

@athachai29
Copy link

Thanks ❤️

@Rouhollah
Copy link

thanks. it's very good.

@syntaxboybe
Copy link

many thanks!

Copy link

ghost commented Nov 15, 2023

Thank you very much :)

@stanleyugwu
Copy link

For custom text, emoji, font, use below code, change devvie to your username:

<a href="https://www.buymeacoffee.com/devvie"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me Okpa&emoji=🍘&slug=devvie&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff" /></a>

tweak the value of text, slug,font_colour,button_colour, etc to your taste

@JellyTitan
Copy link

Thank you!

@ZombieGeeK0
Copy link

Thanks

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