Skip to content

Instantly share code, notes, and snippets.

@AmeliaBR
Created July 5, 2017 01:08
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AmeliaBR/193a8f36eb637af1684201821afd5f66 to your computer and use it in GitHub Desktop.
Testing SVG files in GitHub Gists
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AmeliaBR
Copy link
Author

AmeliaBR commented Jul 5, 2017

Testing linking to a Gist SVG from GitHub comments:

Hopefully, the same SVG as above, a red circular marker on a purple curve. Either that or a broken-image icon. We'll see

@AlanCoding
Copy link

Thanks, this was helpful for me doing the same with graphviz output https://gist.github.com/AlanCoding/bca128a1b391e28819f4020eb9b6536e

@AmeliaBR
Copy link
Author

AmeliaBR commented Nov 6, 2019

@AlanCoding I'm not sure how you found this isolated gist, but I'm glad it was useful for you! (Even if it wasn't for me, since what I was trying to do was figure out how to include SVGs in issue comments!) But yes, at least gists are a great way to display a collection of short code files including SVG.

@shanemcd
Copy link

shanemcd commented Jan 9, 2024

This gist is the first google result for "github gist svg". Also, hi Alan!

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