The free wordpress blogs (those hosted at wordpress.com) have a build in code formatting plugin

Is it possible to get this on private installs of wordpress? I've copied all my posts across but the code formatting feature doesn't work out of the box

I'm primarily looking for Java syntax highlighting

3 Answers 3


This is the plugin used on WordPress.com: http://wordpress.org/extend/plugins/syntaxhighlighter/


I use a plug-in called Code Colorer that dynamically formats my code blocks and highlights syntax where appropriate. I use it for PHP, C#, and JavaScript, but it also works for Java.


I used Code highlighter plugin on my blog.

It is quote basic in case you do not need many controls hovering on your highlighted code when you hover on code.

Another I tried later is Syntax Highlighter, same as suggested by @sorich87 above.

It is more colorful and provide many controls like copying code, printing, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.