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