Help:Editing

Help page
Revision as of 02:17, 21 March 2014 by Britta (talk | contribs) (Britta moved page Help:Contents to Help:Editing)

Formatting tips

Syntax highlighting

You can make code snippets nicely syntax-highlighted using these tags:

<source lang=objc>
NSObject *anObject = [[NSObject alloc] init];
</source>

Which will produce an output that looks like the following:

 NSObject *anObject = [[NSObject alloc] init];


This wiki uses GeSHi as the syntax highlighter. It supports many languages such as bash, c, cpp, text.

Navigation boxes

To add a helpful navigation box to the bottom of an article documenting a class, you can use tags like these:

{{occlass|library=SpringBoard.app|navbox=1}}
{{occlass|library=CoreFoundation.framework|navbox=1}}