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