Difference between revisions of "Help:Formatting"
Line 1: | Line 1: | ||
− | + | =Headings= | |
− | |||
− | |||
− | |||
For a top-level heading, put it on a separate line surrounded by '=='. For example: | For a top-level heading, put it on a separate line surrounded by '=='. For example: | ||
Line 8: | Line 5: | ||
= Introduction = | = Introduction = | ||
− | Subheadings use | + | Subheadings use |
+ | |||
+ | == Introduction == or | ||
+ | === Introduction === and so on | ||
+ | |||
− | + | =Character formatting= | |
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
|- valign="top" | |- valign="top" | ||
Line 131: | Line 132: | ||
∑ √ ± ∴ ≈ ≠ | ∑ √ ± ∴ ≈ ≠ | ||
≤ ≥ → ← ↔ | ≤ ≥ → ← ↔ | ||
+ | </nowiki></pre> | ||
+ | |} | ||
+ | |||
+ | |||
+ | =No or limited formatting : showing exactly what is being typed= | ||
+ | |||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |- | ||
+ | !What it looks like | ||
+ | !What you type | ||
+ | |- | ||
+ | |'''<nowiki> tag:'''<br/> | ||
+ | <nowiki> | ||
+ | The nowiki tag ignores [[Wiki]] ''markup''. | ||
+ | It reformats text by removing newlines and multiple spaces. | ||
+ | It still interprets special characters: → | ||
+ | </nowiki> | ||
+ | |<pre><nowiki> | ||
+ | <nowiki> | ||
+ | The nowiki tag ignores [[Wiki]] ''markup''. | ||
+ | It reformats text by removing newlines | ||
+ | and multiple spaces. | ||
+ | It still interprets special | ||
+ | characters: &rarr; | ||
+ | </nowiki> | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | |'''<pre> tag:'''</br> | ||
+ | <pre> | ||
+ | The pre tag ignores [[Wiki]] ''markup''. | ||
+ | It also doesn't reformat text. | ||
+ | It still interprets special characters: → | ||
+ | </pre> | ||
+ | |<pre><pre><nowiki> | ||
+ | The pre tag ignores [[Wiki]] ''markup''. | ||
+ | It also doesn't reformat text. | ||
+ | It still interprets special characters: | ||
+ | &rarr; | ||
+ | </nowiki></pre></pre> | ||
+ | |- | ||
+ | |'''Leading space:'''<br/> | ||
+ | Leading spaces are another way | ||
+ | to preserve formatting. | ||
+ | |||
+ | |||
+ | Putting a space at the beginning of each line | ||
+ | stops the text from being reformatted. | ||
+ | It still interprets [[Wiki]] ''markup'' and | ||
+ | special characters: → | ||
+ | |<pre><nowiki> | ||
+ | Leading spaces are another way | ||
+ | to preserve formatting. | ||
+ | Putting a space at the beginning of each line | ||
+ | stops the text from being reformatted. | ||
+ | It still interprets [[Wiki]] ''markup'' and | ||
+ | special characters: &rarr; | ||
</nowiki></pre> | </nowiki></pre> | ||
|} | |} |
Revision as of 05:50, 23 June 2009
Headings
For a top-level heading, put it on a separate line surrounded by '=='. For example:
= Introduction =
Subheadings use
== Introduction == or === Introduction === and so on
Character formatting
What it looks like | What you type |
---|---|
Italicized text |
''Italicized text'' '''Bold text''' '''''Italicized & Bold text''''' |
You can use small text for captions. |
You can use <small>small text</small> for captions. |
Better stay away from big text, unless it's within small text. |
Better stay away from <big>big text</big>, unless <small> it's <big>within</big> small</small> text. |
You can You can also mark
|
You can <s>strike out deleted material</s> and <u>underline new material</u>. You can also mark <del>deleted material</del> and <ins>inserted material</ins> using logical markup. For backwards compatibility better combine this potentially ignored new <del>logical</del> with the old <s><del>physical</del></s> markup. |
Suppressing interpretation of markup:
|
<nowiki>Link → (''to'') the [[Wikipedia FAQ]]</nowiki> |
Commenting page source:
|
<!-- comment here --> |
Subscripts:
Superscripts:
|
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or x₀ x₁ x₂ x₃ x₄ x₅ x₆ x₇ x₈ x₉ x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or x⁰ x¹ x² x³ x⁴ x⁵ x⁶ x⁷ x⁸ x⁹ |
Mathematical characters:
|
∑ √ ± ∴ ≈ ≠ ≤ ≥ → ← ↔ |
No or limited formatting : showing exactly what is being typed
What it looks like | What you type |
---|---|
<nowiki> tag: The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: → |
<nowiki> The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: → </nowiki> |
<pre> tag:</br>
The pre tag ignores [[Wiki]] ''markup''. It also doesn't reformat text. It still interprets special characters: → |
<pre> The pre tag ignores [[Wiki]] ''markup''. It also doesn't reformat text. It still interprets special characters: → </pre> |
Leading space: Leading spaces are another way to preserve formatting.
Putting a space at the beginning of each line stops the text from being reformatted. It still interprets Wiki markup and special characters: → |
Leading spaces are another way to preserve formatting. Putting a space at the beginning of each line stops the text from being reformatted. It still interprets [[Wiki]] ''markup'' and special characters: → |