X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/889a7c7f10c8126cc11bccd8ec5986c65a26cf4e..cf1290eb464f1256aa5c12d973fff774e4f83e5e:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index c63085e10..acf53e6a8 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,108 +1,260 @@ -This is the SandBox, a page anyone can edit to try out ikiwiki. +### Is this a heading? ----- +Why doesn't the following work?.. +[[!color foreground=white background=#ff0000 text="White text on red background"]] + +Sure it is. +=========== + +~~~ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +~~~ + +List: + +* thing 1 +* thing 2 [[test page space allowed]] +* thing 3 +* * sublist a? [[TestPage]] +* * sublist b [[testpage]] +* thing 4 + + + +[[!meta date="Thu Jun 16 22:04:33 2005" updated="Thu Dec 22 01:23:20 2011"]] + +This is the [[SandBox]], a page anyone can edit to try out ikiwiki +(version [[!version ]]). Ikiwiki described on Wikipedia: [[!wikipedia Ikiwiki]]. + +vvvv +CamelCase ? + +[[!tag sandbox tag2]] + +What about [[this page]], nono better [[that page]]? + +hello world (right back at ya) + +wait how does versioning work + +test, is it being saved? Probably. I will check. This seems really straightforward. + +Hello! + +~~~ +pre formated text? +~~~ + +``` +testing markdown + with leading and enclosed spaces +``` + +markdown `inline` single-backquotes? + +# one + +- foo + +## two {#alt-link-name-not-working} + +- bar + +### trois + +- blah + - more blah -testing openid ... ignore. +#### quatre -Test. Проверка. テスト ığüşöçİ ทดสอบ éphémère +## bir +- bir -Testing right-to-left text: (שרה) should be spelled shin (ש) resh (ר) heh (ה) from right to left. +## iki +- iki -Here's a paragraph. +* yildiz +** cyildiz -Here's another one with *emphasised* text. +- tire + - ctire -do ë characters work? Sure. +* *i dene* +* **b dene** -OpenID test. It works!! -Test.. +1. number +2. list + a. ick + b. bar -There are Polish diacritical characters: ą, ć, ę, ł, ń, ó, ś, ż, ź. +| table | here | +|----| ---- | +| test adfasdfasdfa | 2 | +| subtest | adfad| -# Header +Sort of formatted.. No borders, though. -## Subheader > This is a blockquote. > > This is the first level of quoting. +A block of text > -> > This is nested blockquote. +> > This is a nested blockquote. > ->> And without a space works too. +>> Without a space works too. >>> to three levels + +This is pretty sweet + +Azerty +** Qsdf ** + > > Back to the first level. +> +> added a line in level 1 +> and another + Numbered list 1. First item. - 1. Sub item. + 1. Sub item. + 1. Number 2 1. Another. 1. And another.. - 1. foo - 2. bar - 3. baz - 4. qux - 5. quux + 1. foo + 2. bar + 3. quz + 3. quze Bulleted list * item -* *item* +* *italic item* * item * one - * two - * three - * four - * five - + * footballs; runner; unices + * Cool ! + * test + * this +* something else + * some more + * and more + * and + * this +> a blockquote +> in a list +> how is this handled + *this _ _ _ + * this 2 + * this 3 + +test _this_ out. + +`test this code block` +[[!wikipedia War_of_1812]] ---- -[[haiku hint="sandbox play"]] +[[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]] +[[!haiku hint="sandbox play"]] ---- ## Different sorts of links: -* [[WikiLink]] -* [[different_name_for_a_WikiLink|WikiLink]] -* [[different name for a WikiLink (with spaces this time)|WikiLink]] +* [[Features]] +* +* [[different_name_for_a_WikiLink|ikiwiki/WikiLink]] * * [GNU](http://www.gnu.org/) -* [Email](mailto:noone@invalid) -* WikiLink without any markup. +* Joey's blog ------ +---- -This sandbox is also a [[blog]]! +# header1 -[[inline pages="sandbox/*" rootpage="sandbox" show="5"]] +## header2 ----- -[[newpage]] ---- +### header3 + +#### header4 -Ethan wants to make a [[sandbox/castle]] in the sand. +##### header 5 -hi +**bold** -just testing +_italic_ -Testing a user page for [[users/kyle]] +test ms +opopopo ---- -what happens if i edit something with an openid set? ------------ +This **SandBox** is also a [[blog]]! -So what's the point? [[How is this different to any other WiKi|features]] +[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]] ----- -Test.. I was looking for a wiki supporting OpenID~ +Testy test! + + +

+This is an email link: + +Send Mail +

+ +What follows is some preformatted text. Each line is proceeded by four spaces. + + Test + + + + + + + + + + +...Now why doesn't it work like that on my own copy of ikiwiki? :( + +Räksmörgås. + +`pre?` + +Testing. Test. 試験として書き込みします。 +ℜ𝔢𝔞𝔩𝔩𝔶 𝔠𝔬𝔬𝔩 𝔣𝔬𝔫𝔱, 𝔪𝔞𝔫. +𝕀𝕗 𝕥𝕙𝕒𝕥'𝕤 𝕨𝕙𝕒𝕥 𝕪𝕠𝕦'𝕣𝕖 𝕚𝕟𝕥𝕠, +𝓟𝓮𝓻𝓼𝓸𝓷𝓪𝓵𝓵𝔂, 𝓘 𝓵𝓲𝓴𝓮 𝓪 𝓫𝓲𝓽 𝓸𝓯 𝓼𝓽𝔂𝓵𝓮. 𝓐𝓷𝓭 𝓬𝓵𝓪𝓼𝓼. +𝕭𝖚𝖙 𝕴 𝖉𝖔𝖓'𝖙 𝖍𝖆𝖛𝖊 𝖆 𝖇𝖚𝖌 𝖆𝖇𝖔𝖚𝖙 𝖎𝖙. + +Καλημέρα! + +test + +I must **emphasise** this. ----- -me too... -[[if test="sandbox/C++" then="[[sandbox/C++]]" else="sad face!"]] \ No newline at end of file +// more pointers + #include + using namespace std; + + int main () + { + int firstvalue = 5, secondvalue = 15; + int * p1, * p2; + + p1 = &firstvalue; // p1 = address of firstvalue + p2 = &secondvalue; // p2 = address of secondvalue + *p1 = 10; // value pointed to by p1 = 10 + *p2 = *p1; // value pointed to by p2 = value pointed to by p1 + p1 = p2; // p1 = p2 (value of pointer is copied) + *p1 = 20; // value pointed to by p1 = 20 + + cout << "firstvalue is " << firstvalue << '\n'; + cout << "secondvalue is " << secondvalue << '\n'; + return 0; + }