Quick Tip: Embedding Gists in a Tumblr
This blog hasn’t gotten too technical yet as I feel that I’m still learning a lot of the basics, but I also haven’t had a good way to embed code. Fortunately I stumbled across this tip, fittingly on a Github Gist, and switched to a wider template so that now I can easily embed gists with syntax highlighting.
1) Go to your Tumblr Dashboard & select your blog (if you have more than one)
2) Click “Customize Theme”
3) Click “Edit HTML”
4) Paste the three ‘script’ lines from below just before your closing head tag.
Now when you want to embed that gist just type this line directly into your post: