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