GitHub Gists
To embed GitHub Gists in pages you can use the {% gist c08ee0f2726fd0e3909d %} provided by the
jekyll-gist plugin that’s enabled by
default on GitHub Pages, but this theme also provides a gist.html include
that makes the gists wider than the main content of the post.
To embed a wide gist:
{% include gist.html sha="c08ee0f2726fd0e3909d" %}
Example:
To render just a single file from a gist rather than the entire gist pass the
file= argument:
{% include gist.html sha="49e543c05736ddbb7873240fa2a89767" file="README.markdown" %}
Example: