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;
}
0 comments:
Post a Comment