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