Alex Gorbatchev's SyntaxHighlighter. Setting it up is cake. Just follow the instructions on the website. You don't need to upload anything. It's all hosted. Just beware that you'll need to add an extra line of code since you're on Blogger:
SyntaxHighlighter.config.bloggerMode = true;
Or else you get nasty break tags in your snippet (as you may have seen and I only fixed now).
2 comments:
Nifty! What package/util/JavaScript are you using for that?
Alex Gorbatchev's SyntaxHighlighter. Setting it up is cake. Just follow the instructions on the website. You don't need to upload anything. It's all hosted. Just beware that you'll need to add an extra line of code since you're on Blogger:
SyntaxHighlighter.config.bloggerMode = true;
Or else you get nasty break tags in your snippet (as you may have seen and I only fixed now).
Post a Comment