View rendered output of a gist?

flossfan picture flossfan · May 23, 2012 · Viewed 15.6k times · Source

I'm sure I'm being dim, but is it possible to view the rendered output of a gist?

This is the gist I'm interested in: https://gist.github.com/844752/420cc52eb4910fe8fa2bec9e13daab18b6230503

Where can I see how it actually renders?

Answer

0xcaff picture 0xcaff · May 6, 2014

rawgit.com provides this service. To use rawgit.com, simply replace the domain of the raw view of the gist or github file you want to view with rawgit.com. For example:

https://gist.githubusercontent.com/mbostock/844752/raw/index.html

to

https://rawgit.com/mbostock/844752/raw/index.html

or

https://raw.githubusercontent.com/caffinatedmonkey/Hello-World-PSP/master/main.cpp

to

https://rawgit.com/caffinatedmonkey/Hello-World-PSP/master/main.cpp