X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/0abf3c63e8aae348b2ae25f2549d369447c47500..cfc1d033bde944288b99649a73c0057315cda07a:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 0dc4f6eb9..0f28d287f 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -18,7 +18,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 +60,7 @@ Bulleted list * Cool ! * Indeed. +[[new link]] ---- @@ -118,9 +119,6 @@ Test some tags [[!tag tech life linux]] [[!taglink tech life linux]] -A poll: -[[!poll 2 "red" 2 "green" 0 "blue"]] - Toggle: [[!toggle id="ipsum" text="show"]] @@ -138,5 +136,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 +"""]]