oEmbed Gist – Gist上のソースを超簡単に貼り付け


Gist.GitHubのソースを記事に挿入するためのプラグインを作りました。

[url2link url="http://wordpress.org/extend/plugins/oembed-gist/" summary="Embed your source from gist into WordPress easily. You simply paste URL of your Gist."]

このプラグインを使うと幸せになれる理由

  • GistのURLをコピペするだけでハイライトされたソースが記事上に表示されます。
  • Gistで提供される<script>をコピペすると公開時に<p>で囲まれてしまいますが、このプラグインを使用すれば大丈夫です。

更新情報

2011年08月19日
oEmbed Gist 1.1.0
2011年04月28日
Gist上のソースを超簡単にWordPressに表示するプラグイン
 

oEmbed Gist – Gist上のソースを超簡単に貼り付け” への8件のコメント

  1. ピンバック: 最近の WordPress 関係の話題 : dogmap.jp

  2. ピンバック: Embed a Github Gist in WordPress Posts/Pages | James Collins

  3. Is it possible to embed a single file from a multi-file gist? Github offers embedding single files by appending ?file=filename.ext to your js src path. Maybe this is a good feature to consider for the future possible using shorttags in conjunction with oEmbed.

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>