< ?php echo "Syntax Highlighter" . "/Code Snippet/Plugin"; ?> <br />
The one thing that I really needed was for easier editing and writing of my posts and putting source code onto my web-page/blog for viewing only, i.e. the code mustn’t be rendered (translated). Wordpress has one built-in, but it’s a little poor, something is translated, something isn’t and similar. I was looking for some add-on/plugin which would have the capability to highlight/color some parts of code, i.e. code can be easy readable without any “translation“ (for example <br> tag musn’t be rendered as a new line). I have found one interesting add-on called CodeHighlighter and from the beginning it seems quite good (also, it has the advantageous possibility to put line numbers at the left side of the code). But, when PHP code came up which contained HTML code (especially <br> tag) – it wasn’t translated properly, so the code which I didn’t wish to show wasn’t right, because the <br> tag wasn’t there. I tried to configure some files, add <br> tag in Visual layout, but all without any success – stupidly, he has translate it anyway. (more…)