SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing it’s formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev.
I included MEL(Maya embedded language) inside this package. It is simple to put mel codes in your post with syntax highlighing.
[mel]
global proc string bcFileName()
{
$bcFileName = file -q -sn -shn
;
if($bcFileName == “”)
return “Untitled Scene”;
return $bcFileName;
[/mel]
the post is going look like this
1 2 3 4 5 6 7 8 |
global proc string bcFileName() { $bcFileName = `file -q -sn -shn`; if($bcFileName == "") return "Untitled Scene"; return $bcFileName; } |
Download Worpress Plugin : Click Here