X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=doc%2Fsandbox.mdwn;h=3aaf6d885cd44e0893e015cd661242e1e590af30;hb=273bdc47f8447cbeff4e2c064bbe8fcbacee1a31;hp=9a6f5acdeaa05ef75f0097e6e266e19abc1838c5;hpb=e9333e2ef3e4ba5b8f7709ff6bc0d287252003c0;p=ikiwiki.git diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 9a6f5acde..3aaf6d885 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. @@ -60,6 +61,7 @@ Bulleted list * Cool ! * Indeed. +[[new link]] ---- @@ -94,6 +96,7 @@ Bulleted list _italic_ +Umcacaumca ### this shows a problem with the list and the verbatim @@ -118,9 +121,6 @@ Test some tags [[!tag tech life linux]] [[!taglink tech life linux]] -A poll: -[[!poll 3 "red" 2 "green" 0 "blue" 1 "purple"]] - Toggle: [[!toggle id="ipsum" text="show"]] @@ -138,5 +138,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 +"""]]