Contoh menyisipkan sourcecode dalam postingan WordPress
Berikut ini adalah contoh sourcecode yang disisipkan dalam postingan WordPress:
[sourcecode language="objc"][/sourcecode]
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code here...
NSLog(@"Hello, World!");
[pool drain];
return 0;
}
[sourcecode][/sourcecode]