Edit page FrontPage
[wiki.git] / EditingTips
1 Click '''Raw Text''' to see the markup for this page, and try it
2 yourself in WikiSandBox.
3
4 ---
5
6 Our wiki syntax is deliberately similar to MoinMoin and WikiCreole.
7
8 Note: You should use formatting sparingly, WikiWikiWeb is about content, not look.
9 See WikiDesignPrinciples.
10
11 == Links ==
12
13 Names of pages have to LookLikeThis.
14 It's called a WikiName.
15 If you write a word that LooksLikeThis, it will be automatically turned into a link.
16
17 You can use URLs directly: http://www.codewiz.org/ ,
18 or you can make descriptive links with [[http://www.codewiz.org/ | some anchor text]].
19 Links to images will appear inline: http://www.w3.org/Icons/valid-css.png
20
21 Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]].
22
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 the text in double stars: *''''''*some word*''''''*. \\
58 To write //italic text//, enclose the text in double slashes: /****/some word/****/. \\
59 Double quotes are also supported for backwards compatiblity with other wikis. \\
60 These keywords are highlighted: FIXME, TODO, DONE.
61
62 TIP: four consecutive stars (*////*////*////*) or slashes (/****/****/****/****) are a good
63 way to prevent the syntax. :-)
64
65
66 == Rulers ==
67
68 ---
69 ----
70 -----
71 ------
72
73
74 == Headings ==
75
76 ===Level 2===
77 ====Level 3====
78 =====Level 4=====
79 ======Level 5======
80
81
82 == Tables ==
83
84 ||= Table Heading 1 ||= Table heading 2 ||= Table heading 3||
85 ||  Table cell 4    ||  Table cell 5    || Table cell 6    ||
86 ||  Table cell 7    ||  Table cell 8    || Table cell 9    ||
87
88
89 == Inline HTML ==
90
91 <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;">
92 You can use {{div}}, {{span}} and {{iframe}} elements with any attribute, including
93 <span style="color: green">CSS</span>, of course.
94 </div>
95
96 == Access Control Lists ==
97
98 TODO: document
99
100 == Final Notes ==
101
102 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.