Skip to content

Instantly share code, notes, and snippets.

@AllThingsSmitty AllThingsSmitty/ forked from mdo/
Created Dec 20, 2016

What would you like to do?
Example of how to embed a Gist on GitHub Pages using Jekyll.

Here's an example of how to embed a Gist on GitHub Pages:

{% gist 5555251 %}

All you need to do is copy and paste the Gist's ID from the URL (here 5555251), and add it to a gist tag surrounded by {% and %}.

And here's what it looks like rendered:

Rendered Gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.