Code highlighting in Wordpress
Theme, Thanks March 23rd, 2007I searched for a while, because my code looked like crap on the interweb, but beautiful in Eclipse.
I’m now using highlight which seems to happily colorize all types of code.
A word of warning though - it only provides a framework for doing code highlighting, by dynamically adding css classes to code fragments. You still have to pick which colors and format you want the classes to map to.
I didn’t realise this so I kind of “borrowed” some of the css from their website. I hope they don’t mind. I think it looks awesome. I didn’t take the little pictures in the corners though. That would be too rude if you don’t have permission.
Thank you to the guys at Software Maniacs!
April 13th, 2007 at 8:50 am
We (I, actually) don’t mind :-). In fact I’m planning to include some basic example.css into the distribution to save people some time. The original idea was that every design is different so it will end up with its own style anyway. But I’be realized that a sample is good for a quick start.
April 23rd, 2007 at 9:35 pm
I like the “idea” of everything being different, but my design skills aren’t so good, so I like it when there’s samples. Then all the lame guys like me can have exactly the same acceptable design, while cool designy people can have cool ones.