X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/30b101e6e8ffa5d02af9b44bfb9abdc2f2a84547..HEAD:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 732bda2e0..24e6c9f20 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,8 +1,14 @@ -###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"]] -Nope my friend. +Sure it is. +=========== + +~~~ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +~~~ List: @@ -18,11 +24,12 @@ List: [[!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 ]]). +(version [[!version ]]). Ikiwiki described on Wikipedia: [[!wikipedia Ikiwiki]]. + vvvv CamelCase ? -[[!tag sandbox]] +[[!tag sandbox tag2]] What about [[this page]], nono better [[that page]]? @@ -39,14 +46,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 @@ -79,11 +89,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. @@ -226,3 +236,33 @@ 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; + } + +testeteset + +Install ikiwiki + +If you're using Debian or Ubuntu, ikiwiki is an apt-get install ikiwiki away. If you're not, see the download and install pages. + +You may also want to try out IkiWiki in a container.