X-Git-Url: https://codewiz.org/gitweb?p=wiki.git;a=blobdiff_plain;f=EditingTips;h=9c4cbfc076e4a205cde7e6b4fc4e45abae32f5df;hp=ec96f8f0ad9e5089e5fc3d1a12a054385cf0634d;hb=adae2bb15db2ab64d3f9d4a98d66b93d947e89ba;hpb=32b3141da487f8d9cc1e16097eff8fd170b16c83 diff --git a/EditingTips b/EditingTips index ec96f8f..9c4cbfc 100644 --- a/EditingTips +++ b/EditingTips @@ -1,43 +1,72 @@ -Note: You should use formatting sparingly, WikiWikiWeb is about content, not look. - -Click '''Raw''''''Text''' in the header to see the markup for this page, and try it yourself in WikiSandBox. +Click **Raw Text** to see the markup for this page, and try it yourself in WikiSandBox. -==Text Styles== - -To write ''italics'', enclose the text in double single quotes. -To write '''bold''', enclose the text in triple single quotes. +--- -Leave blank lines between paragraphs. +Our wiki syntax is deliberately similar to MoinMoin and WikiCreole. -These keywords are highlighted: FIXME, TODO, DONE. +Note: You should use formatting sparingly, WikiWikiWeb is about content, not look. +See WikiDesignPrinciples. -==Links== +== Links == 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 use URLs directly: http://www.codewiz.org/ , -or you can make descriptive links with [[http://www.codewiz.org/ some anchor text]]. +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 -Anchored links also work with [[FrontPage wiki pages]], [[/index.html local paths]], and [[non_wiki_words]]. +Anchored links also work with [[FrontPage|wiki pages]], [[/index.html | local paths]], and [[non_wiki_words]]. + +If you link to a directory, GeekiGeeki will automatically generate an index for it: [[sys/macros]] + +Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]] + +== Inline media == + +==== Images ==== +{{GerryStich.jpg}} + +==== Images with thumbnails ==== +{{GerryStich.jpg|Stich!}} + +==== Scaled images ==== +{{GerryStich.jpg|tiny|maxwidth=48}} + + +==== Including other wiki pages ==== +Use the same syntax to embed wiki pages inside other wiki pages: -==Block elements== + {{IncludedPage}} + +You can also pass arguments to included pages! It works like a simple template system: + + {{TemplatePage | hello=Ciao | world=mondo}} + + +==== Including external resources inline ==== +{{http://www.codewiz.org/wikigit/geekigeeki.git/blob_plain/HEAD:/geekigeeki.py}} + +== Macros == + + * Your remote IP: <> + * Query string: <> + * <> + +== 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 -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: {{{ @@ -48,33 +77,88 @@ To insert program source without reformatting in a monospace font, use three cur 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 4===== ======Level 5====== -== Tables == -|| Table cell 1 || Table cell 2 || Table cell 3 || -|| Table cell 4 || Table cell 5 || Table cell 6 || -|| Table cell 7 || Table cell 8 || Table cell 9 || +== Tables == -TODO: support table headers +||= 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 || == Inline HTML == -
You can use {{div}}, {{span}} and {{iframe}} elements with any attribute.
+
+You can use ##div##, ##span## and ##iframe## elements with any attribute, including +CSS, of course. +
+ +== Pragmas == + +Wiki pages can specify special-purpose commands in their header. In the form: + +{{{ +# <keyword> <values> +}}} + +=== Access Control Lists === -==Final Notes== +{{{ +# acl SomeUser:read,write OtherUser:read All:none +}}} + +Limit read or write access to specific authenticated users + +=== Custom cascading style sheets === + +{{{ +# css my_style.css +}}} -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. \ No newline at end of file +Include a custom CSS before the default ones.