]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/sandbox.mdwn
(no commit message)
[ikiwiki.git] / doc / sandbox.mdwn
index 22a5642da0fb61d233846f49469a1c397cbe07c7..14a8b2944c1945ad3e859b923a997f4ad3041177 100644 (file)
@@ -1,26 +1,46 @@
-This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version  ]]).
+# Sandbox
 
-Here's a paragraph.
+[[!pagestats  pages="tags/*"]]
 
-Here's another one with *emphasised* text.
+[[!sidebar  content="dfdsfsf""
+This is my custom sidebar for this page.
 
-test 2
+\[[!calendar pages="posts/*"]]
+"""]]
 
-# Header
+[[!sidebar ]]
 
-## Subheader
+## number 2
+
+This is the [[SandBox]], a page anyone can edit to try out ikiwiki
+(version [[!version  ]]).
+
+[[!toc levels=1 startlevel=2 ]]
+
+Let's try this~!
+
+w00t, how does this look on the **git** end? Well, as a commit of course.
+
+Testing this sandbox thing.
+
+## Blockquotes
 
 > This is a blockquote.
 >
 > This is the first level of quoting.
 >
-> > This is nested blockquote.
+> > This is nested blockquote.
 >
 >> Without a space works too.
 >>> to three levels
 >
 > Back to the first level.
 
+> It's kinda like e-mail...
+>> ...but without the cool colored lines...
+>>> ...and different font colors.
+>>>> ...but it's nothing a little CSS can't fix.
+
 Numbered list 
 
 1. First item.
@@ -29,6 +49,7 @@ Numbered list
 1. And another..
  1. foo
  2. bar
+ 3. quz
 
 Bulleted list
 
@@ -36,7 +57,11 @@ Bulleted list
 * *item*
 * item
 * one
-  * two
+  * footballs; runner; unices
+  * Cool !
+  * Indeed.
+
+[[new link]]
 
 ----
 
@@ -48,12 +73,88 @@ Bulleted list
 ## Different sorts of links:
 
 * [[Features]]
+* <http://ikiwiki.info/ikiwiki/formatting/>
 * [[different_name_for_a_WikiLink|ikiwiki/WikiLink]]
 * <http://www.gnu.org/>
 * [GNU](http://www.gnu.org/)
+* <a href="http://kitenet.net/~joey/">Joey's blog</a>
+
+----
+
+# header1
+
+## header2
+
+### header3
+
+#### header4
+
+##### header 5
+
+**bold**
+
+_italic_
+
+
+
+### this shows a problem with the list and the verbatim 
+
+Now we try to write a "code" block starting with a hash sign
+
+    # test 1,2,3
+    $ another test
+
+
+Now let's write the same block, with a bullest list preceding it.
+
+
+* This is a bullet list
+
+    # test 1,2,3
+    $ another test
+
+
+----
+
+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]]! 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
+"""]]
 
-This SandBox is also a [[blog]]!
 
-[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]