Help:Editing: Difference between revisions

Help page
m (Britta moved page Help:Contents to Help:Editing)
(adding links to basic formatting help)
Line 1: Line 1:
== Formatting tips ==
iPhoneDevWiki uses the same wiki markup as Wikipedia and other wikis that run on the MediaWiki software.


=== Syntax highlighting ===
'''[https://en.wikipedia.org/wiki/Help:Cheatsheet See Wikipedia's formatting cheatsheet]''' for how to do general wiki markup (italics, bold, links, images, and so on).
 
For help making tables, see [https://www.mediawiki.org/wiki/Help:Tables MediaWiki's table formatting page].
 
== Syntax highlighting ==


You can make code snippets nicely syntax-highlighted using these tags:
You can make code snippets nicely syntax-highlighted using these tags:
Line 18: Line 22:
This wiki uses [http://qbnz.com/highlighter/ GeSHi] as the syntax highlighter. It supports [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages many] languages such as <code>bash, c, cpp, text</code>.
This wiki uses [http://qbnz.com/highlighter/ GeSHi] as the syntax highlighter. It supports [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages many] languages such as <code>bash, c, cpp, text</code>.


=== Navigation boxes ===
== Navigation boxes ==


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

Revision as of 02:21, 21 March 2014

iPhoneDevWiki uses the same wiki markup as Wikipedia and other wikis that run on the MediaWiki software.

See Wikipedia's formatting cheatsheet for how to do general wiki markup (italics, bold, links, images, and so on).

For help making tables, see MediaWiki's table formatting page.

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}}