http://code.google.com/p/syntaxhighlighter/
or the new site:
http://alexgorbatchev.com/
The setup is very easy.
Just add the following code in your Blogger HTML template, before </body> tag. (Replace the [your-hosting-url] with the URL where your downloaded scripts are hosted.
(mine is binghan.uuuq.com/js/syntaxhighlighter2.1/ in this case, feel free to use :) )
Move on to adding snipped-codes for Blooger. Add the following tag to wrap around your snipped-codes.
// your code goes here.
Done!
No comments:
Post a Comment