Spelt Docs

Embedding GitHub Gists

Besides supporting code snippets using regular Markdown syntax, Spelt also defines a custom tag for Stencil which allows you to easily embed a GitHub Gist in your blog posts. All you need to do is copy and paste the Gist's ID from the URL.

{% gist cb9651c70c322b720b41 %}

The World's Last C Bug

The code snippet from above would produce the following: