Saturday, January 10, 2009

Blogger Code Styling & Display.

Found below url to style code on blogger.

http://rias-techno-wizard.blogspot.com/2008/08/display-css-codes-and-scripts-in-unique.html

I tried using syntaxhightlighting from http://code.google.com/p/syntaxhighlighter/ using this blog post http://www.fromjavatoruby.com/2008/10/ruby-syntax-highlighting-in-blogger.html without much luck.

I tried to host the .js and .css scripts on google page creator. May be google page creator doesn't serve resources if it sees some other domain is requesting it. (Remote Hot Linking). Will have to find out some other way.

It is crazy that blogger doesn't provide something out of the box to display code snippets. Driving me nuts !!!!

No comments: