3 ms·
I had the same complaint and wrote a script to create static HTML from GitHub's Gists. I added the gist CSS rules to the rules for the WordPress theme I'm usin
by jlarocco 15y ago
I had the same complaint and wrote a script to create static HTML from GitHub's Gists. I added the gist CSS rules to the rules for the WordPress theme I'm using, and now I can copy/paste the generated HTML into blog posts without fetching from GitHub.
It requires Python3 and PyQt (to execute Javascript), so it's pretty heavy weight, but I have them installed anyway, so it's worked well for me.
A brief explanation and the code is here: http://jlarocco.com/2011/12/22/static-gist-creator/ http://jlarocco.com/2011/12/22/static-gist-creator/
And just the code is here: https://gist.github.com/1513192 https://gist.github.com/1513192