SyntaxHighlighter2 WordPress plugin was released yesterday on WordPress Extend plugin repository. SyntaxHighlighter2 allows you to easily post syntax highlighted code all without loosing it’s formatting or making an manual changes. Main addition is upgrade to SyntaxHighlighter JavaScript 2.0 by Alex Gorbatchev. Also in this release the web master/blogger is given the ability to choose from 6 themes for the SyntaxHighlighter.
If you already using SyntaxHighlighter WordPress plugin and using XHTML, you should upgrade to SyntaxHighlighter2 because SyntaxHighlighter uses invalid XHTML. Bellow you will find the sample WordPress configuration file with SyntaxHighlighter2 🙂 .
[sourcecode language=’php’ ]
[/sourcecode]
I tried it but it looks terrible if there is only a single line as the tool box is bigger than it. Also if first line is slightly long it ends up going behind the toolbox. Alos check your own post at https://www.mohanjith.net/blog/2008/01/automagically-ping-blog-search-engines.html and you will see the ) on line 51 goes outside the area.
Thanks, but this is an upstream issue. See http://alexgorbatchev.com/wiki/SyntaxHighlighter:Demo