Chapters can be opened with a title-less paragraph and further paragraph subdivisions are not strictly required
Every title opening a paragraph must be written inside two double equal signs (==Title==)
Do not use bold or italic inside titles
Use a predefined formatting model when possible: look for a suitable one here: Template List
Chapters belonging to the same section can be referred to explicitly, e.g. "in the previous chapter we have seen...", while other chapters need to be referenced using links, e.g. "as already described in [[Chapter Name]], ..."
Avoid external references: if absolutely necessary, insert them as footnotes 
To start a new paragraph you can use the html tag < br />, but entering two consecutive newlines is preferable
Use the <tt>...</tt> tag for inline code display, e.g.: "int sum(int a, int b); is a function declaration". To put more emphasis you can use <nowiki><code>...</code></nowiki> (a red box will surround the text)
Use the source tag for multiline code snippets, e.g.<source lang=python>...</source>. The lang parameter is necessary for correct syntax highlighting
Use the <math> tag for inline mathematical expression,even simple ones: <math>y=f(x)</math> is better than y = f(x). LaTeX is supported.