Skip to content

Instantly share code, notes, and snippets.

@toracle
Last active August 29, 2015 13:56
Show Gist options
  • Save toracle/8974980 to your computer and use it in GitHub Desktop.
Save toracle/8974980 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Derquinse Gist.GitHub Gadget">
<Require feature="dynamic-height" />
</ModulePrefs>
<UserPref name="gistId" display_name="Gist ID#" required="true" />
<Content type="html">
<![CDATA[
<style type="text/css">
/* Better styles for embedding GitHub Gists */
body,td,div,span,p{font-size:13px;font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important}
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%}
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important;tab-size: 4;}
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important}
.gist-meta a{color:#26a !important;text-decoration:none}
.gist-meta a:hover{color:#0e4071 !important}
</style>
<div id="content_div">
<script src="//gist.github.com/__UP_gistId__.js"></script>
<script type="text/javascript">
gadgets.util.registerOnLoadHandler(gadgets.window.adjustHeight);
</script>
</div>
]]>
</Content>
</Module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment