A blogging framework for hackers.

Gist Tag

All you need is the gist's id and you can easily embed it in your page. This actually downloads a cache of the gist and embeds it in a <noscript> tag for RSS readers and search engines, while still using Github's javascript gist embed code for browsers.


{% gist gist_id [filename] %}


{% gist 4321346 %}

If you want syntax highlighting (for a supported language), specify the filename (with extension):

{% gist 4321346 gistfile1.diff %}

If you have a gist with multiple files, you can include files one at a time by adding the name after the gist id.

{% gist 1059334 svg_bullets.rb %}
{% gist 1059334 usage.scss %}

This plugin was initially developed by Brandon Tilly for Jekyll blogs.