Skip to content

Instantly share code, notes, and snippets.

@johnallers
Forked from soemarko/theme.html
Created January 14, 2012 14:33
Show Gist options
  • Save johnallers/1611665 to your computer and use it in GitHub Desktop.
Save johnallers/1611665 to your computer and use it in GitHub Desktop.
embed github gist to tumblr
<!-- Add the following lines to theme's html code right before </head> -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script>
<script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script>
<!--
Usage: just add <div class="gist">[gist URL]</div>
Example: <div class="gist">https://gist.github.com/1395926</div>
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment