img: add support for objects too
[ikiwiki] / doc / sandbox.mdwn
1 ###Is this a heading? 
2
3 Why doesn't the following work?..
4 [[!color  foreground=white background=#ff0000 text="White text on red background"]]
5
6 Sure it is. 
7
8 I hope baby.
9
10 Nope my friend.
11
12 List:
13
14 * thing 1
15 * thing 2 [[test page space allowed]]
16 * thing 3
17 * * sublist a? [[TestPage]]
18 * * sublist b [[testpage]]
19 * thing 4
20
21
22
23 [[!meta date="Thu Jun 16 22:04:33 2005" updated="Thu Dec 22 01:23:20 2011"]]
24
25 This is the [[SandBox]], a page anyone can edit to try out ikiwiki
26 (version [[!version  ]]).
27 vvvv
28 CamelCase ?
29
30 [[!tag sandbox tag2]]
31
32 What about [[this page]], nono better [[that page]]?
33
34 hello world (right back at ya)
35
36 wait how does versioning work
37
38 test, is it being saved? Probably. I will check. This seems really straightforward.
39
40 Hello!
41
42 ~~~
43 pre formated text?
44 ~~~
45
46 ```
47 testing markdown  
48     with leading    and enclosed spaces
49 ```
50
51 markdown `inline` single-backquotes?
52
53 # one
54
55 - foo
56
57 ## two
58
59 - bar
60
61 ### trois
62
63 - blah
64     - more blah
65
66 #### quatre
67
68 ## bir
69 - bir
70
71 ## iki
72 - iki
73
74 * yildiz
75 ** cyildiz
76
77 - tire
78   - ctire
79
80 * *i dene*
81 * **b dene**
82
83
84 1. number
85 2. list
86     a. ick
87     b. bar
88
89 | table | here |
90 |----| ---- |
91 | test adfasdfasdfa | 2 |
92 | subtest | adfad|
93
94 Sort of formatted.. No borders, though.
95
96
97 > This is a blockquote.
98 >
99 > This is the first level of quoting.
100 A block of text
101 >
102 > > This is a nested blockquote.
103 >
104 >> Without a space works too.
105 >>> to three levels
106
107 This is pretty sweet
108
109 Azerty
110 ** Qsdf **
111
112 >
113 > Back to the first level.
114 >
115 > added a line in level 1
116 > and another
117
118
119 Numbered list 
120
121 1. First item.
122     1. Sub item.
123     1. Number 2
124 1. Another.
125 1. And another..
126     1. foo
127     2. bar
128     3. quz
129     3. quze
130
131 Bulleted list
132
133 * item
134 * *italic item*
135 * item
136 * one
137   * footballs; runner; unices
138   * Cool !
139     * test
140   * this
141 * something else
142   * some more
143   * and more
144     * and
145       * this
146 > a blockquote
147 > in a list
148 > how is this handled
149         *this  _ _ _
150       * this 2
151       * this 3
152
153 test _this_ out.
154
155 `test this code block`
156 [[!wikipedia War_of_1812]]
157 ----
158
159 [[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
160 [[!haiku hint="sandbox play"]]
161
162 ----
163
164 ## Different sorts of links:
165
166 * [[Features]]
167 * <http://ikiwiki.info/ikiwiki/formatting/>
168 * [[different_name_for_a_WikiLink|ikiwiki/WikiLink]]
169 * <http://www.gnu.org/>
170 * [GNU](http://www.gnu.org/)
171 * <a href="http://kitenet.net/~joey/">Joey's blog</a>
172
173 ----
174
175 # header1
176
177 ## header2
178
179 ### header3
180
181 #### header4
182
183 ##### header 5
184
185 **bold**
186
187 _italic_
188
189 test ms
190
191 opopopo
192 ----
193
194 This **SandBox** is also a [[blog]]!
195
196 [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]
197
198 Testy test!
199
200
201 <p>
202 This is an email link:
203 <a href="mailto:erik.josefsson@europarl.europa.eu?Subject=Hello%20again" target="_top">
204 Send Mail</a>
205 </p>
206
207 What follows is some preformatted text.  Each line is proceeded by four spaces.
208
209     Test
210
211     <Test>
212
213     <test>
214     <test>
215
216     <test>
217       <child />
218     </test>
219
220 ...Now why doesn't it work like that on my own copy of ikiwiki? :(
221
222 Räksmörgås.
223
224 `pre?`
225
226 Testing. Test. 試験として書き込みします。
227 ℜ𝔢𝔞𝔩𝔩𝔶 𝔠𝔬𝔬𝔩 𝔣𝔬𝔫𝔱, 𝔪𝔞𝔫. 
228 𝕀𝕗 𝕥𝕙𝕒𝕥'𝕤 𝕨𝕙𝕒𝕥 𝕪𝕠𝕦'𝕣𝕖 𝕚𝕟𝕥𝕠,
229 𝓟𝓮𝓻𝓼𝓸𝓷𝓪𝓵𝓵𝔂, 𝓘 𝓵𝓲𝓴𝓮 𝓪 𝓫𝓲𝓽 𝓸𝓯 𝓼𝓽𝔂𝓵𝓮. 𝓐𝓷𝓭 𝓬𝓵𝓪𝓼𝓼.
230 𝕭𝖚𝖙 𝕴 𝖉𝖔𝖓'𝖙 𝖍𝖆𝖛𝖊 𝖆 𝖇𝖚𝖌 𝖆𝖇𝖔𝖚𝖙 𝖎𝖙.
231
232 Καλημέρα!
233
234 test
235
236 I must **emphasise** this.
237
238
239 // more pointers
240     #include <iostream>
241     using namespace std;
242     
243     int main ()
244     {
245       int firstvalue = 5, secondvalue = 15;
246       int * p1, * p2;
247     
248       p1 = &firstvalue;  // p1 = address of firstvalue
249       p2 = &secondvalue; // p2 = address of secondvalue
250       *p1 = 10;          // value pointed to by p1 = 10
251       *p2 = *p1;         // value pointed to by p2 = value pointed to by p1
252       p1 = p2;           // p1 = p2 (value of pointer is copied)
253       *p1 = 20;          // value pointed to by p1 = 20
254       
255       cout << "firstvalue is " << firstvalue << '\n';
256       cout << "secondvalue is " << secondvalue << '\n';
257       return 0;
258     }