X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7e39bb4dad342afaec1415408749a406ad507ba8..3a04e96389def78bcb873a4487b85f4d75653199:/doc/sandbox.mdwn?ds=inline diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index dc0aebf2d..db8aa639a 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,6 +1,16 @@ ###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.sss +=========== + +I hope baby. + +~~~ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +~~~ Nope my friend. @@ -22,7 +32,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]]? @@ -39,9 +49,12 @@ pre formated text? ~~~ ``` -testing markdown +testing markdown + with leading and enclosed spaces ``` +markdown `inline` single-backquotes? + # one - foo @@ -229,22 +242,22 @@ 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; -} + #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; + }