plugin-icon

GitHub Gist WordPress Plugin

GitHub Gist Wordpress Plugin allows you to embed GitHub Gist snippets with a [gist] tag, instead of copying and pasting HTML.
評分
最近更新:
September 22, 2010
版本
1.1
活躍安裝總數
10

GitHub Gist WordPress Plugin allows you to embed GitHub Gist snippets with a [gist] tag, instead of copying and pasting HTML. For example, to embed the github_gist_wordpress_plugin_test.txt file from gist: 447298, fill in the id and file attributes in the [gist] tag:

[gist id=447298 file=github_gist_wordpress_plugin_test.txt]

or

copy the embedding JavaScript code from GitHub and directly paste it in the body of the [gist] tag:

[gist]<script src="http://gist.github.com/447298.js?file=github_gist_wordpress_plugin_test.txt"></script>[/gist].

The [gist] tag also expands the content of the embedded Gist and wraps it with “<noscript><code><pre>” so that search engine spiders, users with javascript disabled and users reading your blog through RSS will still see your code in a blog entry.

免費使用Creator方案
活躍安裝總數
10
目前已測試版本
3.0.5
此外掛程式已可供下載,並可用於你的 WordPress 自助託管安裝。