Pygment It: a WordPress Plugin for Syntax Highlighting Through Pygments

Few days ago I changed the layout of my blog, and I chose using the great Pygments for code syntax highlighting.

I searched for some plugin to pull it off but the only one I found was this, but I missed something..

How the last commit was just in 2013, I decided fork the project in my personal github and improve it.

I have added more themes, embedded an admin interface (see below) to choose defaults and some more little adjusts.

Here you can see some code samples with my blog theme:

def index
@events = Event.upcoming_events.page params[:page]
end
(function(){
alert("Hello!");
})();

For more information about how to use, installation and options, check out the repo in github.

See you.

Written on May 31, 2014

Share: