Friday, March 16, 2012

Blogger Code Snippets

So, I was thinking about (re)starting work on this blog and sharing some interesting code. By default, Blogger does not have it. My searches took me here where I found out more. If you are too lazy to click on the link, here are the steps to show off code on your blog (direct source of inspiration the link above):



  1. Go to http://gist.github.com 
  2. Paste the code you want to post
  3. Copy the embed tag 
  4. Go back to blogger, and select "Edit Html" 
  5. Paste the embed tag into your post
This relies on GitHub still existing in a couple of years, when your grand-children will visit your blog to learn how to code with their mind (no hands!) in Java or any of the other 2134 (random number) languages supported by Gist.

No comments:

Post a Comment