add patch tag
[ikiwiki] / doc / sandbox.mdwn
1 # Sandbox
2
3 [[!pagestats  pages="/tags/*"]]
4
5 Hello, ikiwiki.
6
7 Testing.
8
9 Testing. One Two Three.
10
11 [[!sidebar ]]
12
13 Here's a hr:
14
15 ---------------------------------------------------------
16
17 ## number 2
18 ### number 3
19 #### number 4
20
21 This is the SandBox, a page anyone can edit to try out ikiwiki
22 (version [[!version  ]]).
23
24 [[!toc levels=1 startlevel=2 ]]
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     location / {
53      proxy_pass http://test.ashep:80;
54      proxy_cache default;
55      proxy_cache_valid 200 302 10m;
56      proxy_cache_valid 404 1m;
57     }
58
59
60
61
62 Numbered list 
63
64 1. First item.
65  1. Sub item.
66 1. Another.
67 1. And another..
68  1. foo
69  2. bar
70  3. quz
71
72 Bulleted list
73
74 * item
75 * *item*
76 * item
77 * one
78   * footballs; runner; unices
79   * Cool !
80   * Indeed.
81
82 [[new link]]
83
84 ----
85
86 [[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
87 [[!haiku hint="sandbox play"]]
88
89 ----
90
91 ## Different sorts of links:
92
93 * [[Features]]
94 * <http://ikiwiki.info/ikiwiki/formatting/>
95 * [[different_name_for_a_WikiLink|ikiwiki/WikiLink]]
96 * <http://www.gnu.org/>
97 * [GNU](http://www.gnu.org/)
98 * <a href="http://kitenet.net/~joey/">Joey's blog</a>
99
100 ----
101
102 # header1
103
104 ## header2
105
106 ### header3
107
108 #### header4
109
110 ##### header 5
111
112 **bold**
113
114 _italic_
115
116
117 Umcacaumca
118
119 ### this shows a problem with the list and the verbatim 
120
121 Now we try to write a "code" block starting with a hash sign
122
123     # test 1,2,3
124     $ another test
125
126
127 Oh, let's try to do the same thing using sane syntax instead:
128
129 ~~~
130 # test 1,2,3
131 $ another test
132 ~~~
133
134 Now let's write the same block, with a bullest list preceding it.
135
136
137 * This is a bullet list
138
139     # test 1,2,3
140     $ another test
141
142
143 ----
144
145 Test some tags
146 [[!tag  tech life linux]]
147 [[!taglink tech life linux]]
148
149 Toggle:
150 [[!toggle  id="ipsum" text="show"]]
151
152 [[!toggleable  id="ipsum" text="""
153 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
154 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
155 ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
156 aliquip ex ea commodo consequat.
157
158 [[!toggle id="ipsum" text="hide"]]
159 """]]
160 ----
161
162 This **SandBox** is also a [[blog]]! xxx
163
164 [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a
165
166 [[!format  verilog """
167 module vc_Mux2 #( parameter W = 1 )
168 (
169   input      [W-1:0] in0, in1,
170   input              sel,
171   output reg [W-1:0] out
172 );
173
174   always @(*)
175   begin
176     case ( sel )
177       1'd0 : out = in0;
178       1'd1 : out = in1;
179       default : out = {W{1'bx}};
180     endcase
181   end
182
183 endmodule
184 """]]
185
186 testing the ikiwiki sandbox.
187 Testing 1, 2, 3.....
188