How to embed code snippets with GitHub Gists
But it’s all about the cloud these days, isn’t it. So why not leverage the power of the cloud to show code snippets in your blog posts? GitHub has this thing called Gists. A Gist is a complete GitHub repository where you can put in your code snippets. It’s as easy as clicking “Create a new Gist” …
… and the copy and past your code
Finally, this is how a Gist would look like in a blog post:
I will use GitHub Gists for all the code examples in this blog from now on to see how well it does in the everyday blogging life.