]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/sandbox.mdwn
Mo' testing in the sandbox.
[ikiwiki.git] / doc / sandbox.mdwn
index de0a1300224ad1582f72268397b39eedae7ccb3f..0a5af6a25d5399daadc8884ef2bada17ef3e0cba 100644 (file)
@@ -1,17 +1,27 @@
 # Sandbox
 
-## number 2
+[[!pagestats  pages="/tags/*"]]
 
-This is the [[SandBox]], a page anyone can edit to try out ikiwiki
-(version [[!version  ]]).
+Hello, ikiwiki.
 
-[[!toc levels=1 startlevel=2 ]]
+Testing.
 
-Let's try this~!
+Testing. One Two Three.
 
-w00t, how does this look on the **git** end?
+[[!sidebar ]]
 
-Testing this sandbox thing.
+Here's a hr:
+
+---------------------------------------------------------
+
+## number 2
+### number 3
+#### number 4
+
+This is the SandBox, a page anyone can edit to try out ikiwiki
+(version [[!version  ]]).
+
+[[!toc levels=1 startlevel=2 ]]
 
 ## Blockquotes
 
@@ -31,6 +41,24 @@ 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"""]]
+
+    location / {
+     proxy_pass http://test.ashep:80;
+     proxy_cache default;
+     proxy_cache_valid 200 302 10m;
+     proxy_cache_valid 404 1m;
+    }
+
+
+
+
 Numbered list 
 
 1. First item.
@@ -51,6 +79,7 @@ Bulleted list
   * Cool !
   * Indeed.
 
+[[new link]]
 
 ----
 
@@ -85,6 +114,7 @@ Bulleted list
 _italic_
 
 
+Umcacaumca
 
 ### this shows a problem with the list and the verbatim 
 
@@ -94,6 +124,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.
 
 
@@ -105,13 +142,43 @@ Now let's write the same block, with a bullest list preceding it.
 
 ----
 
+Test some tags
+[[!tag  tech life linux]]
+[[!taglink tech life linux]]
+
+Toggle:
+[[!toggle  id="ipsum" text="show"]]
 
+[[!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"]]
+"""]]
 ----
 
-This **SandBox** is also a [[blog]]!
+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
+"""]]