Skip to content

Instantly share code, notes, and snippets.

@serbrech
Forked from soemarko/theme.html
Created April 25, 2012 20:02
Show Gist options
  • Save serbrech/2492923 to your computer and use it in GitHub Desktop.
Save serbrech/2492923 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