Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to write code in my wordpress blog. which is hosted in I need a Syntax Highlighter to show code. Can I configure/add Plugin in config panel ? or I do need a self hosted blog ?

share|improve this question

1 Answer 1

you can use the [sourcecode] shortcode on which is built in for you, no need to install or configure anything.

For example to get this results :

enter image description here

just wrap your code in these tags:

[sourcecode language="css"]
your code here

you can see a list of supported languages and a few other parameters you can use with this shortcode at

share|improve this answer
But IT makes all my < and > to &lt; and &gt; in my C++ Code –  Neel Basu Oct 1 '11 at 9:36

Your Answer


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.