none
[openafs-wiki.git] / TWiki / WikiSyntax.mdwn
1 # <a name="TWiki Shorthand Basics"></a> TWiki Shorthand Basics
2
3 If you can enter text, you're ready for TWiki. With a few simple, intuitive [[TextFormattingRules]], you'll be able to use plain text to create well-styled postings, instantly. Here's a fast-track guide to shorthand basics...
4
5 - Separate each **paragraph** with a blank line.
6
7 - To display a word or phrase in **bold type**, put it in asterisks: `*bold type*`.
8
9 - To display a word or phrase in _italic_, put it in underscores: `_italic_`.
10
11 - To display a word or phrase in **_bold italic_**, put it in _double_ underscores: `__bold italic__`.
12
13 - To link to another Wiki topic, type the [[WikiWord]] for that topic. To link to a Wiki topic in another web, type the name of the web, and a dot, first: `Sandbox.WebHome`.
14
15 - If you enter a [[WikiWord]] for a topic that doesn't exist, it'll appear highlighted, with question mark at the end, prompting you (or someone else) to start off the new topic by clicking the **?** - [[NewTopic]] (click the **?**, but don't save, to preserve the example!).
16
17 - When entering WikiName signatures - like, admin - include "Main." as a prefix, since all TWiki member pages are in the Main web: `Main.YourName`.
18
19 - For an external link, type the full URL: `http://twiki.org/`.
20
21 - To prevent a WikiWord from becoming a link, type `<nop>` first, <code>**&lt;nop&gt;NoLinkPlease**</code>.
22
23 - To indent with a bullet, enter `[space][space][space][asterisk][space]`.
24   - Use multiples of 3 spaces to start **nested bullets**.
25     - That's 3-6-9-...
26
27 1. Start items in a **numbered list** with `[space][space][space][1][space]`.
28 2. The "1" (or **any number**) will be replaced by the correct number, in order.
29 3. To add a new paragraph without restarting list numbering, use the %BR% variable, like below:%BR% Text added (in new paragraph)
30 4. and list numbering continues.
31
32 - Always start **counting** spaces for bullets and such from the beginning of a new line.
33
34 - To include an image, type its URL. You also can Attach an image to the page and display it with text <br />`%ATTACHURL%/yourimagefilename.jpg` .
35
36 - To display a word or phrase in `MONOSPACED TYPE`, put it in equal signs: `=like this=`. <br />Use `==two==` for bold: <code>**bold mono**</code>.
37
38 - Use <code>**&lt;verbatim&gt;**</code> to enclose code excerpts, filenames, and other unformatted text, with the opening and closing tags on their own separate lines:
39
40 > <pre>
41 > <b>&lt;verbatim&gt;</b>
42 > unformatted text!
43 > <b>&lt;/verbatim&gt;</b>
44 > </pre>
45
46 - Three (or more) consecutive **hyphens** expand into a horizontal rule:%BR% `---`
47
48 - See [[TextFormattingRules]] for the complete set of formatting rules.