WordPress plugin for nice colourfull code in posts
Today is gonna be a very short post.
Oddly enough I asked myself – why I still don’t have any nice plugins to display programming languages code with different colours?
And now here we go: Dojox WordPress Syntax Highlighter
Available codes:
PHP, Phyton, Java, Javascript, Delphi, Css, HTML, HTML+Django
Syntax:
<pre>
<code class="HTML">
// Put your code here.
</code>
</pre>
// Put your code here.
$(document).ready(function() {
$('ulmenu li:even').addClass('even');
$('ulmenu li a').mouseover(function() {
$(this).animate( { paddingLeft:"20px" }, { queue:false, duration:500 });
}).mouseout(function() {
$(this).animate( { paddingLeft:"0" }, { queue:true, duration:500 });
}).click(function() {
$(this).animate( { fontSize:"20px" }, { queue:false, duration:500 });
});
});
on June 8, 2009 at 17:46