b77e9d6e1dbe9c0559f9a047ace85984b7e4c99c
[wiki.git] / EditingTips
1 Note: You should use formatting sparingly, WikiWikiWeb is about content, not look.
2
3 Click '''Raw Text''' in the header to see the markup for this page, and try it
4 yourself in WikiSandBox.
5
6 This wiki syntax is deliberately similar to MoinMoin and WikiCreole.
7
8 == Text Styles ==
9
10 Leave blank lines between paragraphs.
11
12 To write //italics//, enclose the text in double slashes: /''''''/word/''''''/.  
13 To write **bold**, enclose the text in double stars: *''''''*word*''''''*.
14 Double and triple quotes are also supported for backwards compatiblity with other wiki's.
15 These keywords are highlighted: FIXME, TODO, DONE.  
16
17 == Links ==
18
19 Names of pages have to LookLikeThis.
20 It's called a WikiName.
21 If you write a word that LooksLikeThis, it will be automatically turned into a link.
22
23 You can use URLs directly: http://www.codewiz.org/ ,
24 or you can make descriptive links with [[http://www.codewiz.org/ | some anchor text]].
25 Links to images will appear inline: http://www.w3.org/Icons/valid-css.png
26
27 Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]].
28
29
30 == Block elements ==
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 == Rulers ==
55
56 ---
57 ----
58 -----
59 ------
60
61
62 == Headings ==
63
64 ===Level 2===
65 ====Level 3====
66 =====Level 4=====
67 ======Level 5======
68
69
70 == Tables ==
71
72 || Table cell 1 || Table cell 2 || Table cell 3 ||
73 || Table cell 4 || Table cell 5 || Table cell 6 ||
74 || Table cell 7 || Table cell 8 || Table cell 9 ||
75
76 TODO: support table headers
77
78
79 == Inline HTML ==
80
81 <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>
82
83 == Access Control Lists ==
84
85 TODO: document
86
87 == Final Notes ==
88
89 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.