Wednesday, October 20, 2010

Syntax highlighting

If you don't want to upload codes to another host, than it's a bit hard to integrate some good looking code inside blogspot.

After searching a while I've found this site: embed code syntax highlighting in blog by Shalabhsneha Katdare.
If you follow the post, than the highlighting should be implemented in less than 5 minutes to your blog, and you can start posting code snippets like this:):
- (void)sayHello {
   NSLog(@"Hello World");
}
Sadly Objective-C is not included in the bundled version:(

Also I started to try out some blogging apps. The first one is called: Blogo.
It seems that Blogo kills the HTML code I'm adding to the code snippets. It cuts off the class="brush: c" from the pre tag

0 comments:

Post a Comment