]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/sandbox.mdwn
add news item for ikiwiki 3.20121016
[git.ikiwiki.info.git] / doc / sandbox.mdwn
1 # Sandbox
3 [[!pagestats  pages="/tags/*"]]
5 Hello, ikiwiki.
7 Testing.
9 Testing. One Two Three.
11 [[!sidebar ]]
13 Here's a hr:
15 ---------------------------------------------------------
17 ## number 2
18 ### number 3
19 #### number 4
21 This is the SandBox, a page anyone can edit to try out ikiwiki
22 (version [[!version  ]]).
24 [[!toc levels=1 startlevel=2 ]]
26 ## Blockquotes
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.
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.
44 # Pointless heading
46 Let's see a table:
48 [[!table data="""
49 Heading 1|Heading 2|Heading 3
50 Item 1| Item 2| Item 3"""]]
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     }
62 Numbered list 
64 1. First item.
65  1. Sub item.
66 1. Another.
67 1. And another..
68  1. foo
69  2. bar
70  3. quz
72 Bulleted list
74 * item
75 * *item*
76 * item
77 * one
78   * footballs; runner; unices
79   * Cool !
80   * Indeed.
82 [[new link]]
84 ----
86 [[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
87 [[!haiku hint="sandbox play"]]
89 ----
91 ## Different sorts of links:
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>
100 ----
102 # header1
104 ## header2
106 ### header3
108 #### header4
110 ##### header 5
112 **bold**
114 _italic_
117 Umcacaumca
119 ### this shows a problem with the list and the verbatim 
121 Now we try to write a "code" block starting with a hash sign
123     # test 1,2,3
124     $ another test
127 Oh, let's try to do the same thing using sane syntax instead:
129 ~~~
130 # test 1,2,3
131 $ another test
132 ~~~
134 Now let's write the same block, with a bullest list preceding it.
137 * This is a bullet list
139     # test 1,2,3
140     $ another test
143 ----
145 Test some tags
146 [[!tag  tech life linux]]
147 [[!taglink tech life linux]]
149 Toggle:
150 [[!toggle  id="ipsum" text="show"]]
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.
158 [[!toggle id="ipsum" text="hide"]]
159 """]]
160 ----
162 This **SandBox** is also a [[blog]]! xxx
164 [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a
166 [[!format  verilog """
167 module vc_Mux2 #( parameter W = 1 )
169   input      [W-1:0] in0, in1,
170   input              sel,
171   output reg [W-1:0] out
172 );
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
183 endmodule
184 """]]
186 testing the ikiwiki sandbox.
187 Testing 1, 2, 3.....