I want to be able to show something like:
function foo()
{
return "bar";
}
Is there a plugin?
I installed one called Code Markup, but this doesn't add any code options when I am adding a new post (at least not that I am seeing).
Wordpress
I want to be able to show something like:
function foo()
{
return "bar";
}
Is there a plugin?
I installed one called Code Markup, but this doesn't add any code options when I am adding a new post (at least not that I am seeing).
Best Answer
I use the SyntaxHighlighter plugin. It works well, is simple to use, and supports a good variety of languages.
See an article on my site for example output.