Im using the js SyntaxHighlighter 3.0.83 from http://alexgorbatchev.com/SyntaxHighlighter/
I\'ve been googling the entire world now it seem but cant really find how
I don't actually use SyntaxHighlight, but it seems to be possible to attach an white-space: pre-wrap
CSS style to the or
tag that SyntaxHighlight uses.
HTML (using ):
/**
* SyntaxHighlighter
*/
function foo()
{
if (counter <= 10)
return;
// it works!
}
HTML (using ):
CSS:
.syntaxhighlight {
white-space: pre-wrap;
}