]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/sandbox.mdwn
link to filecheck
[git.ikiwiki.info.git] / doc / sandbox.mdwn
1 # Sandbox
3 [[!pagestats  pages="/tags/*"]]
5 Hello, ikiwiki.
7 Testing.
9 [[!sidebar ]]
11 Here's a hr:
13 ---------------------------------------------------------
15 ## number 2
16 ### number 3
17 #### number 4
19 This is the SandBox, a page anyone can edit to try out ikiwiki
20 (version [[!version  ]]).
22 [[!toc levels=1 startlevel=2 ]]
24 ## Blockquotes
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.
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.
42 # Pointless heading
44 Let's see a table:
46 [[!table data="""
47 Heading 1|Heading 2|Heading 3
48 Item 1| Item 2| Item 3"""]]
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     }
60 Numbered list 
62 1. First item.
63  1. Sub item.
64 1. Another.
65 1. And another..
66  1. foo
67  2. bar
68  3. quz
70 Bulleted list
72 * item
73 * *item*
74 * item
75 * one
76   * footballs; runner; unices
77   * Cool !
78   * Indeed.
80 [[new link]]
82 ----
84 [[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
85 [[!haiku hint="sandbox play"]]
87 ----
89 ## Different sorts of links:
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>
98 ----
100 # header1
102 ## header2
104 ### header3
106 #### header4
108 ##### header 5
110 **bold**
112 _italic_
115 Umcacaumca
117 ### this shows a problem with the list and the verbatim 
119 Now we try to write a "code" block starting with a hash sign
121     # test 1,2,3
122     $ another test
125 Oh, let's try to do the same thing using sane syntax instead:
127 ~~~
128 # test 1,2,3
129 $ another test
130 ~~~
132 Now let's write the same block, with a bullest list preceding it.
135 * This is a bullet list
137     # test 1,2,3
138     $ another test
141 ----
143 Test some tags
144 [[!tag  tech life linux]]
145 [[!taglink tech life linux]]
147 Toggle:
148 [[!toggle  id="ipsum" text="show"]]
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.
156 [[!toggle id="ipsum" text="hide"]]
157 """]]
158 ----
160 This **SandBox** is also a [[blog]]! xxx
162 [[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a
164 [[!format  verilog """
165 module vc_Mux2 #( parameter W = 1 )
167   input      [W-1:0] in0, in1,
168   input              sel,
169   output reg [W-1:0] out
170 );
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
181 endmodule
182 """]]