X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/b2068b5525b4ed139927fc4bc0d3da2b5cb26852..39c6ce33632e915691b74316a6acd2da2e27a9ca:/doc/sandbox.mdwn?ds=sidebyside diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index e0193642d..db8aa639a 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,79 +1,164 @@ -# Sandbox +###Is this a heading? -[[!pagestats pages="/tags/*"]] +Why doesn't the following work?.. +[[!color foreground=white background=#ff0000 text="White text on red background"]] -Hello, ikiwiki. +Sure it is.sss +=========== + +I hope baby. + +~~~ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +~~~ + +Nope my friend. + +List: + +* thing 1 +* thing 2 [[test page space allowed]] +* thing 3 +* * sublist a? [[TestPage]] +* * sublist b [[testpage]] +* thing 4 -[[!sidebar ]] -## number 2 -### number 3 +[[!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 +This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]). +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 + +- bar + +### trois + +- blah + - more blah + +#### quatre -[[!toc levels=1 startlevel=2 ]] +## bir +- bir -See, online editing :-p +## iki +- iki -Let's try this~! +* yildiz +** cyildiz -w00t, how does this look on the **git** end? Well, as a commit of course. +- tire + - ctire -Testing this sandbox thing. +* *i dene* +* **b dene** -Awesome :P -## Blockquotes +1. number +2. list + a. ick + b. bar + +| table | here | +|----| ---- | +| test adfasdfasdfa | 2 | +| subtest | adfad| + +Sort of formatted.. No borders, though. + > This is a blockquote. > > This is the first level of quoting. +A block of text > > > This is a nested blockquote. > >> Without a space works too. >>> to three levels -> -> Back to the first level. - -> It's kinda like e-mail... ->> ...but without the cool colored lines... ->>> ...and different font colors. ->>>> ...but it's nothing a little CSS can't fix. -# Pointless heading +This is pretty sweet -Let's see a table: +Azerty +** Qsdf ** -[[!table data=""" -Heading 1|Heading 2|Heading 3 -Item 1| Item 2| Item 3"""]] +> +> 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. quz + 1. foo + 2. bar + 3. quz + 3. quze Bulleted list * item -* *item* +* *italic item* * item * one * footballs; runner; unices * Cool ! - * Indeed. - -[[new link]] - + * 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]] ---- [[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]] @@ -106,85 +191,73 @@ Bulleted list _italic_ +test ms -Umcacaumca - -### this shows a problem with the list and the verbatim - -Now we try to write a "code" block starting with a hash sign - - # test 1,2,3 - $ another test - - -Oh, let's try to do the same thing using sane syntax instead: - -~~~ -# test 1,2,3 -$ another test -~~~ - -Now let's write the same block, with a bullest list preceding it. - - -* This is a bullet list +opopopo +---- - # test 1,2,3 - $ another test +This **SandBox** is also a [[blog]]! +[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]] ----- +Testy test! -Test some tags -[[!tag tech life linux]] -[[!taglink tech life linux]] -Toggle: -[[!toggle id="ipsum" text="show"]] +

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

-[[!toggleable id="ipsum" text=""" -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do -eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim -ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut -aliquip ex ea commodo consequat. +What follows is some preformatted text. Each line is proceeded by four spaces. -[[!toggle id="ipsum" text="hide"]] -"""]] ----- + Test -This **SandBox** is also a [[blog]]! xxx + -[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a + + -[[!format verilog """ -module vc_Mux2 #( parameter W = 1 ) -( - input [W-1:0] in0, in1, - input sel, - output reg [W-1:0] out -); + + + - always @(*) - begin - case ( sel ) - 1'd0 : out = in0; - 1'd1 : out = in1; - default : out = {W{1'bx}}; - endcase - end +...Now why doesn't it work like that on my own copy of ikiwiki? :( -endmodule -"""]] +Räksmörgås. -# +`pre?` -This is simple enough for now [[sandbocen]] no? +Testing. Test. 試験として書き込みします。 +ℜ𝔢𝔞𝔩𝔩𝔶 𝔠𝔬𝔬𝔩 𝔣𝔬𝔫𝔱, 𝔪𝔞𝔫. +𝕀𝕗 𝕥𝕙𝕒𝕥'𝕤 𝕨𝕙𝕒𝕥 𝕪𝕠𝕦'𝕣𝕖 𝕚𝕟𝕥𝕠, +𝓟𝓮𝓻𝓼𝓸𝓷𝓪𝓵𝓵𝔂, 𝓘 𝓵𝓲𝓴𝓮 𝓪 𝓫𝓲𝓽 𝓸𝓯 𝓼𝓽𝔂𝓵𝓮. 𝓐𝓷𝓭 𝓬𝓵𝓪𝓼𝓼. +𝕭𝖚𝖙 𝕴 𝖉𝖔𝖓'𝖙 𝖍𝖆𝖛𝖊 𝖆 𝖇𝖚𝖌 𝖆𝖇𝖔𝖚𝖙 𝖎𝖙. - Do code tags work? +Καλημέρα! -test by max +test -test by bbb +I must **emphasise** this. -Can I make a [[NewPage]]? +// 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; + }