To embed a Gist in a blog post, simply add the embed code below, replacing the URL with the URL of the Gist you’d like to embed:
[gist url="https://gist.github.com/postachio/9059890"]
view raw gistfile1.txt hosted with ❤ by GitHub
If you’d only like to embed a specific file, you can add the file name to your tag:
[gist url="https://gist.github.com/postachio/9059890" file="gistfile1.txt"]
view raw gist-file hosted with ❤ by GitHub
Here’s what it will look like in your post:
<!DOCTYPE html>
<html>
<head>
<title>Yay!</title>
</head>
<body>
<p>Whee!</p>
</body>
</html>
view raw gistfile1.html hosted with ❤ by GitHub