Skip to content

Instantly share code, notes, and snippets.

@svicknesh
Forked from soemarko/theme.html
Created May 28, 2017 05:56
Show Gist options
  • Save svicknesh/88e468d003682ba7c523ef2c658f2603 to your computer and use it in GitHub Desktop.
Save svicknesh/88e468d003682ba7c523ef2c658f2603 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