X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4f9bb662e48f78169f0f4071200c0bf80d794b61..17d012593acf260ee72e6fa7026ac48894ecf6b7:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index fecbd4bf1..2f173677b 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,54 +1,56 @@ -This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]). - -Vick was here and had this to say: -1. my first point is blah -2. my second point is blahblah - - of course, dont forget about this - - and that - - and the other - - which has a subpoint -3. does this work? - * subone - * sub2 - * sub3 - -== and my heading is this == -some important stuff here - -==== less important heading ==== -blahblahblah +# Sandbox ----- -misc test +[[!pagestats pages="/tags/*"]] + +[[!sidebar content="dfdsfsf"" +This is my custom sidebar for this page. + +\[[!calendar pages="posts/*"]] +"""]] -test more test -[[中文显示]] +[[!sidebar ]] -Here's a paragraph. +## number 2 +### number 3 -The following code block is pre-formatted: +This is the [[SandBox]], a page anyone can edit to try out ikiwiki +(version [[!version ]]). - Testing what - pre-formatted code blocks - look like. +[[!toc levels=1 startlevel=2 ]] -Here's another one with *emphasised* text. +Let's try this~! -# Header +w00t, how does this look on the **git** end? Well, as a commit of course. -## Subheader +Testing this sandbox thing. + +## Blockquotes > This is a blockquote. > > This is the first level of quoting. > -> > This is nested blockquote. +> > 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 + +Let's see a table: + +[[!table data=""" +Heading 1|Heading 2|Heading 3 +Item 1| Item 2| Item 3"""]] + + Numbered list 1. First item. @@ -57,10 +59,7 @@ Numbered list 1. And another.. 1. foo 2. bar - 3. baz - 4. qux - 5. quux - 6. wibble + 3. quz Bulleted list @@ -68,10 +67,11 @@ Bulleted list * *item* * item * one - * two - * three - * four - * five + * footballs; runner; unices + * Cool ! + * Indeed. + +[[new link]] ---- @@ -80,33 +80,94 @@ Bulleted list ---- -The haiku will change after every save, mind you. - ## Different sorts of links: * [[Features]] +* * [[different_name_for_a_WikiLink|ikiwiki/WikiLink]] * * [GNU](http://www.gnu.org/) -* [Email](mailto:noone@invalid) -* [![ikiwiki logo](http://ikiwiki.info/logo/ikiwiki.png)](http://ikiwiki.info) -* plain old html link -* [[foo]] +* Joey's blog + +---- + +# header1 + +## header2 + +### header3 + +#### header4 + +##### header 5 ------ +**bold** -This SandBox is also a [[blog]]! +_italic_ -[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]] --------- +Umcacaumca -This gives an example of inline code: `tar | netcat` is a nice way to transfer bulk files over the net +### 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 + + +Now let's write the same block, with a bullest list preceding it. + + +* This is a bullet list + + # test 1,2,3 + $ another test -But, of course, rsync is better. ---- -Let's see what happens... ~~ +Test some tags +[[!tag tech life linux]] +[[!taglink tech life linux]] + +Toggle: +[[!toggle id="ipsum" text="show"]] + +[[!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. + +[[!toggle id="ipsum" text="hide"]] +"""]] +---- + +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 + +endmodule +"""]] + +# -測試的啦 +This is simple enough for now [[sandbocen]] no?