So I was thinking about blogging some of my coding mainly because writing it and publishing somehow inexplicably makes it better more focused and I seem to get more things done. In order to publish code I need some good way to present it and thus I installed Crayon Syntax Highlighter because it had the highest rating of the two syntax highlighter plugins I looked at. The other one, SyntaxHighlighter Evolved, had more downloads though.
So now to insert some Objective-C and c how it turns out.
|
1 2 3 4 5 |
#import <Cocoa/Cocoa.h> int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **) argv); } |
here is the crayon syntax highlighter documentation for future reference.
though I am thinking maybe SyntaxHighlighter Evolved is the thing to use since it is the one used on wordpress.com as seen here