Added a trivial table example with a pointless heading
[ikiwiki.git] / doc / sandbox.mdwn
1 # Sandbox
2
3 [[!pagestats  pages="/tags/*"]]
4
5 [[!sidebar  content="dfdsfsf""
6 This is my custom sidebar for this page.
7
8 \[[!calendar pages="posts/*"]]
9 """]]
10
11 [[!sidebar ]]
12
13 ## number 2
14
15 This is the [[SandBox]], a page anyone can edit to try out ikiwiki
16 (version [[!version  ]]).
17
18 [[!toc levels=1 startlevel=2 ]]
19
20 Let's try this~!
21
22 w00t, how does this look on the **git** end? Well, as a commit of course.
23
24 Testing this sandbox thing.
25
26 ## Blockquotes
27
28 > This is a blockquote.
29 >
30 > This is the first level of quoting.
31 >
32 > > This is a nested blockquote.
33 >
34 >> Without a space works too.
35 >>> to three levels
36 >
37 > Back to the first level.
38
39 > It's kinda like e-mail...
40 >> ...but without the cool colored lines...
41 >>> ...and different font colors.
42 >>>> ...but it's nothing a little CSS can't fix.
43
44 # Pointless heading
45
46 Let's see a table:
47
48 [[!table data="""
49 Heading 1|Heading 2|Heading 3
50 Item 1| Item 2| Item 3"""]]
51
52
53 Numbered list 
54
55 1. First item.
56  1. Sub item.
57 1. Another.
58 1. And another..
59  1. foo
60  2. bar
61  3. quz
62
63 Bulleted list
64
65 * item
66 * *item*
67 * item
68 * one
69   * footballs; runner; unices
70   * Cool !
71   * Indeed.
72
73 [[new link]]
74
75 ----
76
77 [[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
78 [[!haiku hint="sandbox play"]]
79
80 ----
81
82 ## Different sorts of links:
83
84 * [[Features]]
85 * <http://ikiwiki.info/ikiwiki/formatting/>
86 * [[different_name_for_a_WikiLink|ikiwiki/WikiLink]]
87 * <http://www.gnu.org/>
88 * [GNU](http://www.gnu.org/)
89 * <a href="http://kitenet.net/~joey/">Joey's blog</a>
90
91 ----
92
93 # header1
94
95 ## header2
96
97 ### header3
98
99 #### header4
100
101 ##### header 5
102
103 **bold**
104
105 _italic_
106
107
108 Umcacaumca
109
110 ### this shows a problem with the list and the verbatim 
111
112 Now we try to write a "code" block starting with a hash sign
113
114     # test 1,2,3
115     $ another test
116
117
118 Now let's write the same block, with a bullest list preceding it.
119
120
121 * This is a bullet list
122
123     # test 1,2,3
124     $ another test
125
126
127 ----
128
129 Test some tags
130 [[!tag  tech life linux]]
131 [[!taglink tech life linux]]
132
133 Toggle:
134 [[!toggle  id="ipsum" text="show"]]
135
136 [[!toggleable  id="ipsum" text="""
137 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
138 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
139 ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
140 aliquip ex ea commodo consequat.
141
142 [[!toggle id="ipsum" text="hide"]]
143 """]]
144 ----
145
146 This **SandBox** is also a [[blog]]! xxx
147
148 [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a
149
150 [[!format  verilog """
151 module vc_Mux2 #( parameter W = 1 )
152 (
153   input      [W-1:0] in0, in1,
154   input              sel,
155   output reg [W-1:0] out
156 );
157
158   always @(*)
159   begin
160     case ( sel )
161       1'd0 : out = in0;
162       1'd1 : out = in1;
163       default : out = {W{1'bx}};
164     endcase
165   end
166
167 endmodule
168 """]]
169
170