GitHub Gist WordPress Plugin allows you to embed GitHub Gists from http://gist.github.com/ in a post or page.
Author: | Jingwen Owen Ou (profile at wordpress.org) |
WordPress version required: | 2.5.1 |
WordPress version tested: | 3.0.5 |
Plugin version: | 1.1 |
Added to WordPress repository: | 30-07-2010 |
Last updated: | 22-09-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://wordpress.org/extend/plugins/github-gi... |
Total downloads: | 2 412 |
Active installs: | 10+ |
Click to start download |
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.
Screenshots
ChangeLog