Have you ever wanted to convert all the code blocks in a markdown file to embedded gists?

Well now you can! Embed gists into markdown by copying this script into a new file, and run it with the name of the markdown file you want to convert:

Useful for formatting lots of code on a blog if you don’t have prettify.js.

Enjoy!