X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=doc%2Fsandbox.mdwn;h=0c6567f736e0553ed7cc9acfab1811593968ad5a;hb=3f28f5ceb77586891078343ebd743c472e374cc8;hp=1e2154d45192477e997d7ae4c7ffa87aeb6d6b3c;hpb=a85d4519e39244c8ffac7e4d43ef322aea5d6fa5;p=ikiwiki.git diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 1e2154d45..0c6567f73 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,5 +1,6 @@ # Sandbox +[[!pagestats pages="/tags/*"]] [[!sidebar content="dfdsfsf"" This is my custom sidebar for this page. @@ -18,7 +19,7 @@ This is the [[SandBox]], a page anyone can edit to try out ikiwiki Let's try this~! -w00t, how does this look on the **git** end? +w00t, how does this look on the **git** end? Well, as a commit of course. Testing this sandbox thing. @@ -40,6 +41,15 @@ Testing this sandbox thing. >>> ...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. @@ -60,6 +70,7 @@ Bulleted list * Cool ! * Indeed. +[[new link]] ---- @@ -94,6 +105,7 @@ Bulleted list _italic_ +Umcacaumca ### this shows a problem with the list and the verbatim @@ -118,9 +130,6 @@ Test some tags [[!tag tech life linux]] [[!taglink tech life linux]] -A poll: -[[!poll 1 "red" 1 "green" 0 "blue"]] - Toggle: [[!toggle id="ipsum" text="show"]] @@ -138,5 +147,24 @@ 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 +"""]]