Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Embed Gists in Blogger
At the end of your Blogger post , using HTML editor, append this
<script src="" type="text/javascript"></script>
In the content of your blog post, simply add this:
<div class="gistLoad" data-id="8488564" id="gist-8488564">Loading</div>
Note: adding the URL is useful because when the javascript does not work, readers can copy and paste the URL themselves.
If you need to specify a single file within a Gist, use the data-file attribute
<div class="gistLoad" data-id="4982341" data-file="gistfile2.cs" id="gist-4982341">Loading</div><br />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment