Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save practicalli-johnny/6020210 to your computer and use it in GitHub Desktop.
Save practicalli-johnny/6020210 to your computer and use it in GitHub Desktop.
Adding Gits to articles on blogger using the gistLoader javascript library
<!--
1. Create your Gist on Github and copy the number, the last part of the gist URL
2. Add the Gist number as the data-id in the gistLoad call to the gistLoader library
-->
<!-- Add a specific gist from Github -->
<div class="gistLoad" data-id="change-to-gist-number" id="gist-GistID">
Loading Gist from Github ....</div>
<!--
3. Add the gistLoader Javascript library
-->
<!-- JavaScript to load in Gists from Github -->
<script src="https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js" type="text/javascript"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment