Edit page EditingTips
[wiki.git] / EditingTips
1 Note: You should use formatting sparingly, WikiWikiWeb is about content, not look.
2
3 ---
4
5 This wiki syntax is deliberately similar to MoinMoin and WikiCreole.
6
7 Click '''Raw Text''' in the header to see the markup for this page, and try it
8 yourself in WikiSandBox.
9
10
11 == Text Styles ==
12
13 Leave blank lines between paragraphs.
14
15 To write //italics//, enclose the text in double slashes: /''''''/word/''''''/.  
16 To write **bold**, enclose the text in double stars: *''''''*word*''''''*.
17 Double and triple quotes are also supported for backwards compatiblity with other wiki's.
18 These keywords are highlighted: FIXME, TODO, DONE.  
19
20 == Links ==
21
22 Names of pages have to LookLikeThis.
23 It's called a WikiName.
24 If you write a word that LooksLikeThis, it will be automatically turned into a link.
25
26 You can use URLs directly: http://www.codewiz.org/ ,
27 or you can make descriptive links with [[http://www.codewiz.org/ | some anchor text]].
28 Links to images will appear inline: http://www.w3.org/Icons/valid-css.png
29
30 Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]].
31
32
33 == Block elements ==
34
35 If you indent text
36   like this, then it is indented in the output
37     you can have multiple levels of indent
38
39 And if you put asterisks at the start of the line
40
41   * you get a 
42   * bulleted
43   * list
44     * which can also be indented
45       * to several levels
46
47 To insert program source without reformatting in a monospace font, use three curly braces:
48
49 {{{
50   public static void main(String[] args) {
51     out.println("Hello");
52   }
53 }}}
54
55 Just like that.
56
57 == Rulers ==
58
59 ---
60 ----
61 -----
62 ------
63
64
65 == Headings ==
66
67 ===Level 2===
68 ====Level 3====
69 =====Level 4=====
70 ======Level 5======
71
72
73 == Tables ==
74
75 || Table cell 1 || Table cell 2 || Table cell 3 ||
76 || Table cell 4 || Table cell 5 || Table cell 6 ||
77 || Table cell 7 || Table cell 8 || Table cell 9 ||
78
79 TODO: support table headers
80
81
82 == Inline HTML ==
83
84 <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;">You can use {{div}}, {{span}} and {{iframe}} elements with any attribute.</div>
85
86 == Access Control Lists ==
87
88 TODO: document
89
90 == Final Notes ==
91
92 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.