graemehunter.co.uk

29 Nov, 2006

Dean’s Source Code syntax highlighting plugin for WordPress V1.1

Posted by: admin In: Blogging

I’ve been asked to find a Wordpress plugin for source-code highlighting in posts. My first research leads me to the belief that the area to look at are plugins which use the Generic Syntax Highlighter or GeSHi. This can handle over 200 different languages, so should be flexible enough for our needs.

So the first plugin I am looking at is Dean’s Source Code syntax highlighting plugin. What I intend to do is to install a few different plugins, activate them one at a time, input code in a few languages, and compare the results.

Code Formated by Deans Source Code Syntax Plugin

These are just a few examples to show how well it formats. What I didn’t count on was that if I de-activate the plugin, the formatting goes immediately. So the above is an image of the generated code.

Having a second go here at multiline code:

Another go at multiline

Still not happy. My basic issue here isn’t with writing code from scratch, that works fine. It is cutting and pasting a section of code in Firefox so that it will keep the formatting and parse properly through the highlighter. Just can’t get it to work. Putting it on hold for now.

1 Response to "Dean’s Source Code syntax highlighting plugin for WordPress V1.1"

1 | Embedded Components and Tools Blog Center

May 27th, 2007 at 1:54 am

Avatar

How to Fix Dean Lee’s Source Code Highlight Plugin

Ron Fredericks writes: In my previous post, I discuss Dean Lee’s source code syntax highlighting plugin for Wordpress. It delivers all the great features of the GeSHi open-source highlight project for Wordress bloggers.
Yet some source code displ…

Comment Form


  • asim: when i conect nokia 6300 to my pc...after contecting when i click on contacts....and after disable the cable,,,i saw in me contacts book..if name "ali
  • goldenzim: Awesome, easy to follow how-to. Got my n95 hooked up in no time after I found this how to. Thank you!
  • Ngawi: Installing Linux Ubuntu family is my favorite among the other distro. It's very easy, except for my friend's laptop that needs to turn off acpi to be

About

This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from.

Links