Try http://www.gistfy.com/.
Gistfy is an easy way to create embeddable code snippets from your GitHub and Bitbucket repositories or your GitHub Gist.
It only works for public repositories. It's a tool that get your code from your repo and create a html like gist do.