Add docs for gist tag.

This commit is contained in:
Parker Moore 2013-05-12 16:20:05 +02:00
parent f56090be3f
commit 208becee86
1 changed files with 18 additions and 0 deletions

View File

@ -234,3 +234,21 @@ You can also use this tag to create a link to a post in Markdown as follows:
[Name of Link]({% post_url 2010-07-21-name-of-post %})
{% endraw %}
{% endhighlight %}
### Gist
Use the `gist` tag to easily embed a GitHub Gist onto your site:
{% highlight text %}
{% raw %}
{% gist 5555251 %}
{% endraw %}
{% endhighlight %}
You may also optionally specify the filename in the gist to display:
{% highlight text %}
{% raw %}
{% gist 5555251 result.md %}
{% endraw %}
{% endhighlight %}