Edit page EditingTips
[wiki.git] / EditingTips
index 1e5fea6f4e7d84ebf2d6109d957436d6098ad775..132aac686102f2f09903f7b833b5ec93e7fc8645 100644 (file)
@@ -1,44 +1,63 @@
+Click **Raw Text** to see the markup for this page, and try it yourself in WikiSandBox.
+
+---
+
+Our wiki syntax is deliberately similar to MoinMoin and WikiCreole.
+
 Note: You should use formatting sparingly, WikiWikiWeb is about content, not look.
 Note: You should use formatting sparingly, WikiWikiWeb is about content, not look.
+See WikiDesignPrinciples.
 
 
+== Links ==
 
 
-==Text Styles==
+Names of pages have to LookLikeThis.
+It's called a WikiName.
+If you write a word that LooksLikeThis, it will be automatically turned into a link.
 
 
-You can also write ''italics'' and '''bold'''.
-To write italics, enclose the text in double single quotes.
-To write bold, enclose the text in triple single quotes.
+You can use URLs directly: http://www.codewiz.org/ ,
+or you can make descriptive links with [[http://www.codewiz.org/ | some anchor text]].
+Links to images will appear inline: http://www.w3.org/Icons/valid-css.png
 
 
-Leave blank lines between paragraphs.
+Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]].
 
 
-If you can't figure out what I mean, click EditPage to look at the source for this page.
+Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]]
 
 
+== Inline media ==
 
 
-==Links==
+==== Images ====
+{{GerryStich.jpg}}
 
 
-Names of pages have to LookLikeThis.
-It's called a WikiName.
-If you write a word that LooksLikeThis, it will be automatically turned into a link.
+==== Images with thumbnails ====
+{{GerryStich.jpg|Stich!}}
 
 
-You can use URLs directly: http://www.codewiz.org/ , or you can make descriptive links with [[http://www.codewiz.org/ some anchor text]]. Links to images will appear inline: http://www.w3.org/Icons/valid-css.png
+==== Scaled images ====
+{{GerryStich.jpg|tiny|maxwidth=48}}
 
 
 
 
-Anchored links also work with [[FrontPage wiki pages]]
-and [[/index.html local paths]].
+==== Including other wiki pages ====
+{{IncludedPage}}
 
 
+TODO: one day this will let you pass argument as a templating engine
 
 
-==Block elements==
+==== Including external resources inline ====
+{{http://www.codewiz.org/wikigit/geekigeeki.git/blob_plain/HEAD:/geekigeeki.py}}
+
+== Macros ==
+
+<<TitleSearch>>
+<<NonexistentMacro | param1 | param2 >>
+
+== Block elements ==
+
+Leave blank lines between paragraphs.
+
+You can insert line\\
+breaks\\
+with double backslashes: \****\.
 
 If you indent text
   like this, then it is indented in the output
     you can have multiple levels of indent
 
 
 If you indent text
   like this, then it is indented in the output
     you can have multiple levels of indent
 
-And if you put asterisks at the start of the line
-
-  * you get a 
-  * bulleted
-  * list
-    * which can also be indented
-      * to several levels
-
 To insert program source without reformatting in a monospace font, use three curly braces:
 
 {{{
 To insert program source without reformatting in a monospace font, use three curly braces:
 
 {{{
@@ -49,14 +68,47 @@ To insert program source without reformatting in a monospace font, use three cur
 
 Just like that.
 
 
 Just like that.
 
-==Rulers==
+== Itemized lists ==
+
+If you put asterisks (*) at the start of the line
+
+  * you get a 
+  * bulleted
+  * list
+    * which can also be indented
+      * to several levels
+
+You can also have numbered lists, using the number (#) sign:
+ # first item
+ # second item
+   # first indented item
+   # second indented item
+ # third item
+
+== Text Styles ==
+
+To write **bold text**, enclose it in double stars: *////*some word*////*. \\
+To write //italic text//, enclose it in double slashes: /****/some word/****/. \\
+To write ##monospace text##, enclose it in double hashes: #****#some word#****#. \\
+To write __underlined text__, enclose it in double underscores: _****_some word_****_. \\
+To write ^^superscript text^^, enclose it in double carets: ^****^some word^****^. \\
+To write ,,subscript text,,, enclose it in double commas: ,****,some word,****,. \\
+''Double'' and '''triple''' quotes are also supported for compatiblity with other wikis. \\
+These keywords are highlighted: FIXME, TODO, DONE.
+
+TIP: four consecutive stars (*////*////*////*) or slashes (/****/****/****/****) are a good
+way to escape the syntax. :-)
+
+
+== Rulers ==
 
 ---
 ----
 -----
 ------
 
 
 ---
 ----
 -----
 ------
 
-==Headings==
+
+== Headings ==
 
 ===Level 2===
 ====Level 3====
 
 ===Level 2===
 ====Level 3====
@@ -64,11 +116,24 @@ Just like that.
 ======Level 5======
 
 
 ======Level 5======
 
 
-==Final Notes==
+== Tables ==
 
 
-Be aware that PikiPiki 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.
+||= Table Heading 1 ||= Table heading 2 ||= Table heading 3||
+||  Table cell 4    ||  Table cell 5    || Table cell 6    ||
+||  Table cell 7    ||  Table cell 8    || Table cell 9    ||
 
 
-Now click Edit''''''Text in the header to see the markup for this page, and try it yourself in PikiSandBox.
 
 
-----
-Contributors and PikiGurus: JohnFarrell, MartinPool
+== Inline HTML ==
+
+<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, including
+<span style="color: green">CSS</span>, of course.
+</div>
+
+== Access Control Lists ==
+
+TODO: document
+
+== Final Notes ==
+
+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.