Ok so I’ve tried out the seemly most popular syntax highlighter that seems to be out there
http://alexgorbatchev.com/SyntaxHighlighter/
but the file size is quite large, it seems a little heavy to include it and the format of the highlighted code I feel looks ugly.
Is there any alternative?
Thanks for the answers I had a look at those highlighters,. I like rainbows lightweight ness. But not a fan of the styling. And Google’s Prettify is good although double the file size of rainbow. In the end I decided to whip up my own. If anyones interested I put a version up on bitbucket.
https://bitbucket.org/SharkAttack/syntax-highlighter