LogoMark.png

Plugin/Gist-it


Plugin Gist-it


概要

GitHubに公開されているコードを埋め込み表示するためのものです。
gist-it.appspot.com のJavaScriptを利用しています。

書式

#gistit( ファイルパス, [幅px], [高さpx] )

ファイルパスは、公開アドレスの http://github.com/ から後ろの部分で、
一般に以下の形式です。

ユーザ名/リポジトリ名/・・/ブランチ名/ファイル名


事例

以下の記述で、出力されています。

#gistit(koichi-inoue/JS_Geolocation/blob/master/index.html,,300)

ちなみに、以下が公開アドレスです。
http://github.com/koichi-inoue/JS_Geolocation/blob/master/index.html





PAGES

GUIDE

Last-modified: 2020-04-10 (金) 10:59:14