X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a7846129fa9e85cb359dc4e2c2ca86cd54cbe4f2..1de32fba52e156c60ee5821f22a5bc89a289d19f:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index e3b8412df..34d4c2c06 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,14 +1,25 @@ -###Is this a heading? +### Is this a heading? -Sure it is. +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 -Nope my friend. -<<<<<<< HEAD -[[test link]] -======= -[[Test link]] ->>>>>>> 59f04c5ad3daf0c01e81d28ec1106e23567a1100 [[!meta date="Thu Jun 16 22:04:33 2005" updated="Thu Dec 22 01:23:20 2011"]] @@ -17,7 +28,7 @@ This is the [[SandBox]], a page anyone can edit to try out ikiwiki vvvv CamelCase ? -[[!tag sandbox]] +[[!tag sandbox tag2]] What about [[this page]], nono better [[that page]]? @@ -34,14 +45,17 @@ pre formated text? ~~~ ``` -testing markdown +testing markdown + with leading and enclosed spaces ``` +markdown `inline` single-backquotes? + # one - foo -## two +## two {#alt-link-name-not-working} - bar @@ -74,11 +88,11 @@ testing markdown b. bar | table | here | -|----|.----.| +|----| ---- | | test adfasdfasdfa | 2 | | subtest | adfad| -ok no formating. +Sort of formatted.. No borders, though. > This is a blockquote. @@ -211,7 +225,35 @@ Räksmörgås. `pre?` Testing. Test. 試験として書き込みします。 +ℜ𝔢𝔞𝔩𝔩𝔶 𝔠𝔬𝔬𝔩 𝔣𝔬𝔫𝔱, 𝔪𝔞𝔫. +𝕀𝕗 𝕥𝕙𝕒𝕥'𝕤 𝕨𝕙𝕒𝕥 𝕪𝕠𝕦'𝕣𝕖 𝕚𝕟𝕥𝕠, +𝓟𝓮𝓻𝓼𝓸𝓷𝓪𝓵𝓵𝔂, 𝓘 𝓵𝓲𝓴𝓮 𝓪 𝓫𝓲𝓽 𝓸𝓯 𝓼𝓽𝔂𝓵𝓮. 𝓐𝓷𝓭 𝓬𝓵𝓪𝓼𝓼. +𝕭𝖚𝖙 𝕴 𝖉𝖔𝖓'𝖙 𝖍𝖆𝖛𝖊 𝖆 𝖇𝖚𝖌 𝖆𝖇𝖔𝖚𝖙 𝖎𝖙. Καλημέρα! test + +I must **emphasise** this. + + +// 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; + }