X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=doc%2Fsandbox.mdwn;h=0c6567f736e0553ed7cc9acfab1811593968ad5a;hb=38c220324885e521b6223e0a4e16a4b804824740;hp=de0eaa692be261e2d401b8ecc5065da20e83d54d;hpb=8a86537e74cd4a8cdfaf4eb8dd7eeb7262b37c98;p=ikiwiki.git diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index de0eaa692..0c6567f73 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,22 +1,54 @@ -This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]). +# Sandbox -[[Testing 1 2 3| test]] -# Header +[[!pagestats pages="/tags/*"]] -## Subheader2 +[[!sidebar content="dfdsfsf"" +This is my custom sidebar for this page. + +\[[!calendar pages="posts/*"]] +"""]] + +[[!sidebar ]] + +## number 2 + +This is the [[SandBox]], a page anyone can edit to try out ikiwiki +(version [[!version ]]). + +[[!toc levels=1 startlevel=2 ]] + +Let's try this~! + +w00t, how does this look on the **git** end? Well, as a commit of course. + +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. -"I'm sitting in the middle of a rather muddy puddle." +> 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 @@ -26,6 +58,7 @@ Numbered list 1. And another.. 1. foo 2. bar + 3. quz Bulleted list @@ -34,6 +67,10 @@ Bulleted list * item * one * footballs; runner; unices + * Cool ! + * Indeed. + +[[new link]] ---- @@ -49,36 +86,85 @@ Bulleted list * [[different_name_for_a_WikiLink|ikiwiki/WikiLink]] * * [GNU](http://www.gnu.org/) +* Joey's blog + +---- + +# header1 ------ +## header2 -[[!progress percent=27]] +### header3 -[[!progress percent=78]] +#### header4 ------ +##### header 5 -This **SandBox** is also a [[blog]]! +**bold** + +_italic_ + + +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 + + +Now let's write the same block, with a bullest list preceding it. + + +* This is a bullet list + + # test 1,2,3 + $ another test -[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]] ---- -What about [relative urls](../setup/byhand)? +Test some tags +[[!tag tech life linux]] +[[!taglink tech life linux]] -[[!toggleable id="foobar" text=""" -foo -"""]] +Toggle: +[[!toggle id="ipsum" text="show"]] -[[!toggleable id="foobar" text=""" -bar +[[!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"]] """]] +---- -[[!toggle id="foobar" text="foo/bar"]] +This **SandBox** is also a [[blog]]! xxx -Hmm, can I dig it? +[[!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 +"""]] -Test -test2 -I assume this triggers a checkin and recompile?