Thanks to Luka, Code highlighting in Blogger

Luka Marinko has a blog post "Code highlighting on blogger” that shows how to get syntax highlighting on code sample with Blogger. The nice thing is it doesn’t require any file hosting on your part.

Examples:

#!/usr/bin/python
print "Hello, World!"
#!/usr/bin/ruby
puts "Hello, World!"
#include <stdio.h>
int main(int argc, char* argv[]) {
	printf("Hello, World!\n");
	return 0;
}
This entry was posted in Blogger, Programming. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>