X-Git-Url: https://codewiz.org/gitweb?p=wiki.git;a=blobdiff_plain;f=EditingTips;h=9c4cbfc076e4a205cde7e6b4fc4e45abae32f5df;hp=5963c4a8fc74e96318c20d2238dee36afda3f483;hb=adae2bb15db2ab64d3f9d4a98d66b93d947e89ba;hpb=078bf51686ba3f0bbe0ab3f99cfeb9d4c437d264 diff --git a/EditingTips b/EditingTips index 5963c4a..9c4cbfc 100644 --- a/EditingTips +++ b/EditingTips @@ -19,6 +19,8 @@ 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]]. +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 == @@ -34,11 +36,15 @@ Image links: [[http://www.laptopgiving.org/|GiveOneGetOne.jpg]] ==== Including other wiki pages ==== -{{IncludedPage}} -You can also pass arguments to included pages! It works like a minimal templating system: +Use the same syntax to embed wiki pages inside other wiki pages: + + {{IncludedPage}} + +You can also pass arguments to included pages! It works like a simple template system: + + {{TemplatePage | hello=Ciao | world=mondo}} -{{TemplatePage | hello=Ciao | world=mondo }} ==== Including external resources inline ==== {{http://www.codewiz.org/wikigit/geekigeeki.git/blob_plain/HEAD:/geekigeeki.py}} @@ -133,10 +139,26 @@ You can use ##div##, ##span## and ##iframe## elements with any attribute, includ CSS, of course. -== Access Control Lists == +== Pragmas == + +Wiki pages can specify special-purpose commands in their header. In the form: + +{{{ +# <keyword> <values> +}}} -TODO: document +=== 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. +Include a custom CSS before the default ones.