Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Google siteにてGistのコード埋め込みスクリプトを表示するためのGoogle Gadgetスクリプト。(下記のコメントの参照)
<?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 #" required="true" />
<Content type="html">
<![CDATA[
<div id="content_div">
<script src="http://gist.github.com/__UP_gistId__.js"></script>
<script type="text/javascript">
gadgets.util.registerOnLoadHandler(gadgets.window.adjustHeight);
</script>
</div>
]]>
</Content>
</Module>
@ochilab

This comment has been minimized.

Copy link
Owner Author

commented Sep 25, 2014

これは古いので(中途半端なので)、https://gist.github.com/ochilab/11a718344aca679711f0
を参照してください。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.