Embedding Github Code

Sometimes the code you want to share might already be on Github. Wouldn't it be great if you could just embed the code as a html script without copy/pasting chunks of it, or without having visitors open up a new tab? Gist-it is a great way of doing this.

The slicing function might be especially useful for cases where the code needs to be chunked, e.g. for tutorials.

Here is an example.