gist-5604615/README.md
Andrew Tennikoff cc75ea3cdd
2013-05-18 07:45:28 -07:00

518 B
Raw Permalink Blame History

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multifile gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]

(via: http://stackoverflow.com/a/14529686)