Save rendered template for gist into HTML file

Doing the same thing with the previous commit.