Plugin Directory

GitHub Gist WordPress Plugin

GitHub Gist WordPress Plugin allows you to embed GitHub Gists from http://gist.github.com/ in a post or page.

Download Version 1.1

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.

Author: Jingwen Owen Ou

Requires: 2.5.1 or higher
Compatible up to: 3.0.5
Last Updated: 2010-9-22 Downloads: 611

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(2 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
0,1,0