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