Help:Editing: Difference between revisions

Help page
(more info)
(a little more info)
Line 1: Line 1:
== Formatting tips ==
== Formatting tips ==
=== 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 5: Line 7:
  <nowiki><source lang=objc></nowiki>
  <nowiki><source lang=objc></nowiki>
  <nowiki></source></nowiki>
  <nowiki></source></nowiki>
The syntax highlighter supports a lot of languages. A few others that may be useful: <code>bash, c, cpp, text</code>
=== 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 12:16, 20 October 2013

Formatting tips

Syntax highlighting

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

<source lang=objc>
</source>

The syntax highlighter supports a lot of languages. A few others that may be useful: 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}}