View rendered output of a gist?

RawGithub.com will let you render anything on Github, including gists. Two examples:

  • https://gist.github.com/mbostock/4341574, and the rendered version
  • https://gist.github.com/hemulin/4148842, and the rendered version

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

Tags:

Git

Github

Gist