10932b06378e43d9ea7d5009303ea969eae3fd92
[wiki.git] / EditingTips
1 Click **Raw Text** to see the markup for this page, and try it yourself in WikiSandBox.
2
3 ---
4
5 Our wiki syntax is deliberately similar to MoinMoin and WikiCreole.
6
7 Note: You should use formatting sparingly, WikiWikiWeb is about content, not look.
8 See WikiDesignPrinciples.
9
10 == Links ==
11
12 Names of pages have to LookLikeThis.
13 It's called a WikiName.
14 If you write a word that LooksLikeThis, it will be automatically turned into a link.
15
16 You can use URLs directly: http://www.codewiz.org/ ,
17 or you can make descriptive links with [[http://www.codewiz.org/ | some anchor text]].
18 Links to images will appear inline: http://www.w3.org/Icons/valid-css.png
19
20 Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]].
21
22 Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]]
23
24 == Block elements ==
25
26 Leave blank lines between paragraphs.
27
28 You can insert line\\
29 breaks\\
30 with double backslashes: \****\.
31
32 If you indent text
33   like this, then it is indented in the output
34     you can have multiple levels of indent
35
36 And if you put asterisks at the start of the line
37
38   * you get a 
39   * bulleted
40   * list
41     * which can also be indented
42       * to several levels
43
44 To insert program source without reformatting in a monospace font, use three curly braces:
45
46 {{{
47   public static void main(String[] args) {
48     out.println("Hello");
49   }
50 }}}
51
52 Just like that.
53
54
55 == Text Styles ==
56
57 To write **bold text**, enclose it in double stars: *////*some word*////*. \\
58 To write //italic text//, enclose it in double slashes: /****/some word/****/. \\
59 To write ##monospace text##, enclose it in double hashes: #****#some word#****#. \\
60 To write __underlined text__, enclose it in double underscores: _****_some word_****_. \\
61 To write ^^superscript text^^, enclose it in double carets: ^****^some word^****^. \\
62 To write ,,subscript text,,, enclose it in double commas: ,****,some word,****,. \\
63 ''Double'' and '''triple''' quotes are also supported for compatiblity with other wikis. \\
64 These keywords are highlighted: FIXME, TODO, DONE.
65
66 TIP: four consecutive stars (*////*////*////*) or slashes (/****/****/****/****) are a good
67 way to escape the syntax. :-)
68
69
70 == Rulers ==
71
72 ---
73 ----
74 -----
75 ------
76
77
78 == Headings ==
79
80 ===Level 2===
81 ====Level 3====
82 =====Level 4=====
83 ======Level 5======
84
85
86 == Tables ==
87
88 ||= Table Heading 1 ||= Table heading 2 ||= Table heading 3||
89 ||  Table cell 4    ||  Table cell 5    || Table cell 6    ||
90 ||  Table cell 7    ||  Table cell 8    || Table cell 9    ||
91
92
93 == Inline HTML ==
94
95 <div style="align:right; clear:right; font-size:24px; width:20em; max-width:60%; margin:1ex 0ex 1ex 1ex; border:3px outset #969; background-color:#faf; color: #f00; padding:.3em; text-align:center;">
96 You can use ##div##, ##span## and ##iframe## elements with any attribute, including
97 <span style="color: green">CSS</span>, of course.
98 </div>
99
100 == Access Control Lists ==
101
102 TODO: document
103
104 == Final Notes ==
105
106 Be aware that GeekiGeeki does not lock pages during editing, so if you pause for a long time on the edit screen you may overwrite somebody else's changes.