by Andrea Ercolino on WordPress.org
Easy code highlighting for WordPress with Chili (the bundled version is 2.2):
code tab tagslang with the language to highlightecho "";alert( 'Hello ' + $name );
tags if you want to preserve white space element to add line numbers