-
-
I like solving social problems with web and mobile technology. I also like playing funk music. README
-
iPhone Apps
-
Read About
ActionScript3 adobe flex Ajax apache authentication bash csrf custom devise Facebook API flash flex iphone javascript jquery linux marketing Music myspace MySQL objective c os x passenger Photoshop php plugin rails rounded rounded corners rspec ruby rubyonrails Ruby On Rails Software SQLite tap testing time_select user-permissions user-roles validation widget wordpress XHTML/CSS XML

Any good syntax highlighting plugins out there?
UPDATE (05/14/2009)
I spent a few hours checking out some new syntax highlighter plugins. The best I found was Syntax Highlighter and Code Prettifier Plugin for WordPress. I tried it for a few days, but it loads extremely slow and the styling is not inline (therefore your RSS feeds will not look pretty). After being frustrated again with the options out there, I updated wp-syntax and removed my hacks. It looks a lot better now, but there is still an issue with understanding quotes in regular expressions as you can see here. For now I will just submit a bug and not worry about it. I just wanted to mention that I believe wp-syntax is the best option available.
Original Post:
When I first started this blog just a few months ago, my code snippets were ugly. After evaluating a few syntax highlighting plugins, I chose wp-syntax because it is pretty well documented for a Wordpress plugin and has over 10,000 downloads. It was also nice to see screen shots before installing.
The wp-syntax plugin is based on GeSHi, a syntax highlighter written in PHP. GeSHi is cool because it supports a wide variety of languages. However, I did not like the default styling provided by GeSHi for any languages and it has bad syntax support for Ruby.
Any suggestions for a good syntax highlighting plugin would be GREATLY APPRECIATED! For now, I went into the source code and fixed most of the issues with Ruby syntax support, as well as altered styles and added more keyword support for PHP, Ruby, and CSS. It’s an ugly fix but I wanted to get it done quickly.
If you like the way my code looks here, do the following:
I would probably do a more comprehensive improvement if GeSHi was not currently being rewritten; or if I didn’t have faith that I will stumble across something better soon
If you enjoyed this post, make sure you subscribe to my RSS feed!