Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there a way I could install some plugin or have syntax highlighting for my wordpress.com blog or do I need to install WP on my own server to be able to install a plugin to do that?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

WordPress.com uses Alex Gorbatchev’s SyntaxHighlighter so all you need to do is use the right shortcode ex:

[sourcecode language="css"]
#button {
font-weight: bold;
border: 2px solid #fff;
}
[/sourcecode]

which gives you something like this:

enter image description here

it has more features and you can see a list of supported languages at http://en.support.wordpress.com/code/posting-source-code/

share|improve this answer

There is a plugin call "SyntaxHighlighter" really nice and easy. I am using on my blog. here is the link http://wordpress.org/extend/plugins/syntaxhighlighter/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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