gist-it is a WordPress plugin that allows Gist code publications using Word Press’ interface. Right bellow is a “how to use it” guide and here you can download gist-it 0.4.
gist-it fix problems for those who want to use Gist service as a personal repository of small peaces of code. Also works for those who enjoy the functionality of syntax highlight that the ‘embed’ has and the possibility to do it inside WordPress.
Basically, that problem usually happens with those who ‘programming-bloggers’ are the main activity when not sleeping. If that’s the case:
Installing and using it:
- Put the archive ‘gist-it.php’ inside the WordPress’ plugin folder. (wp-content/plugins)
- Active the plugin inside WordPress management

- Let the plugin find out your GitHub’s login and password. That will help sending the codes inside your account, that allows after edition and access to the version control that people at Gist created for you.

- To copy a piece of the code to a post’s content, put it inside this kind of marking: [sourcercode lang="ruby"] YOUR CODE HERE [/sourcecode]. (Find out what to put on ‘lang’)

- Save the post and be happy.
That code will be sent to Gist and the plugin will replace what you added in Word Press for something like [sourcercode lang="ruby" gist="665"] YOUR CODE HERE [/sourcercode].
That will be used to know where your precious piece of colored letters is saved and then show it in the exhibition of you post, like this:
do |you|
really_want_to_hurt_me?
do |you|
really_want_to_make_me_cry?
end
end
If you edit the code in WordPress, it will be updated on Gist, and if you change it on Gist, When you open the post editor, you will find the most recent version (which means, the Gist’s one).


