X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e381184944cb951ca78123c301ee61f0c6ff50a4..0f7c148494a0b35b6949d2cf0a130e38ecfa8ab9:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index b1f1242eb..502bc4fec 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,21 +1,30 @@ # Sandbox - +[[!pagestats pages="/tags/*"]] +<<<<<<< HEAD +ttt [[!sidebar content="dfdsfsf"" This is my custom sidebar for this page. \[[!calendar pages="posts/*"]] """]] + +asdfasdf asdfasldkfj asdf + [[!sidebar ]] + ## number 2 +### number 3 This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]). [[!toc levels=1 startlevel=2 ]] +See, online editing :-p + Let's try this~! w00t, how does this look on the **git** end? Well, as a commit of course. @@ -40,6 +49,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 +78,7 @@ Bulleted list * Cool ! * Indeed. +[[new link]] ---- @@ -94,6 +113,7 @@ Bulleted list _italic_ +Umcacaumca ### this shows a problem with the list and the verbatim @@ -103,6 +123,13 @@ Now we try to write a "code" block starting with a hash sign $ another test +Oh, let's try to do the same thing using sane syntax instead: + +~~~ +# test 1,2,3 +$ another test +~~~ + Now let's write the same block, with a bullest list preceding it. @@ -135,10 +162,30 @@ This **SandBox** is also a [[blog]]! xxx [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a -[[!format c """ -void main () { - printf("hello, world!"); -} +[[!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? + + Do code tags work? +test by max