ikiwiki/doc/sandbox.mdwn

189 lines
2.9 KiB
Plaintext
Raw Normal View History

2011-02-10 21:41:30 +01:00
# Sandbox
2011-10-21 21:43:15 +02:00
[[!pagestats pages="/tags/*"]]
2011-08-04 19:51:49 +02:00
2012-03-20 08:29:58 +01:00
Hello, ikiwiki.
2012-03-02 00:25:31 +01:00
2012-06-13 21:40:46 +02:00
Testing.
2012-08-22 21:16:05 +02:00
Testing. One Two Three.
2011-08-04 19:51:49 +02:00
[[!sidebar ]]
2012-08-08 15:07:58 +02:00
Here's a hr:
2012-08-08 15:08:26 +02:00
2012-08-08 15:07:58 +02:00
---------------------------------------------------------
2012-02-23 13:26:13 +01:00
2011-07-14 02:34:48 +02:00
## number 2
2011-11-27 02:53:04 +01:00
### number 3
2012-08-08 15:07:58 +02:00
#### number 4
2011-07-14 02:34:48 +02:00
2012-05-07 23:40:31 +02:00
This is the SandBox, a page anyone can edit to try out ikiwiki
(version [[!version ]]).
2009-11-22 21:08:49 +01:00
2011-02-10 21:41:30 +01:00
[[!toc levels=1 startlevel=2 ]]
## Blockquotes
2011-02-16 20:44:39 +01:00
2010-08-13 22:05:38 +02:00
> This is a blockquote.
2009-11-22 21:08:49 +01:00
>
> This is the first level of quoting.
>
2010-08-13 22:05:38 +02:00
> > This is a nested blockquote.
2009-11-22 21:08:49 +01:00
>
>> Without a space works too.
>>> to three levels
>
> Back to the first level.
2011-02-16 20:44:39 +01:00
> It's kinda like e-mail...
>> ...but without the cool colored lines...
>>> ...and different font colors.
>>>> ...but it's nothing a little CSS can't fix.
# Pointless heading
Let's see a table:
[[!table data="""
Heading 1|Heading 2|Heading 3
Item 1| Item 2| Item 3"""]]
2012-08-11 00:17:41 +02:00
location / {
proxy_pass http://test.ashep:80;
proxy_cache default;
proxy_cache_valid 200 302 10m;
proxy_cache_valid 404 1m;
}
2009-11-22 21:08:49 +01:00
Numbered list
1. First item.
1. Sub item.
1. Another.
1. And another..
1. foo
2. bar
2010-07-05 10:23:48 +02:00
3. quz
2009-11-22 21:08:49 +01:00
Bulleted list
* item
* *item*
* item
* one
2009-11-24 03:22:50 +01:00
* footballs; runner; unices
2010-06-17 17:00:59 +02:00
* Cool !
2011-02-15 06:12:26 +01:00
* Indeed.
2010-06-17 17:00:59 +02:00
2011-10-01 19:25:44 +02:00
[[new link]]
2009-11-22 21:08:49 +01:00
----
[[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
[[!haiku hint="sandbox play"]]
----
## Different sorts of links:
* [[Features]]
* <http://ikiwiki.info/ikiwiki/formatting/>
* [[different_name_for_a_WikiLink|ikiwiki/WikiLink]]
* <http://www.gnu.org/>
* [GNU](http://www.gnu.org/)
2010-10-13 11:10:45 +02:00
* <a href="http://kitenet.net/~joey/">Joey's blog</a>
2009-11-22 21:08:49 +01:00
2010-06-24 02:45:59 +02:00
----
2009-11-22 21:08:49 +01:00
2011-01-01 21:18:16 +01:00
# header1
## header2
### header3
#### header4
##### header 5
**bold**
2011-01-01 21:20:40 +01:00
_italic_
2011-05-22 09:21:19 +02:00
2011-10-25 21:09:05 +02:00
Umcacaumca
2011-05-22 09:21:19 +02:00
### this shows a problem with the list and the verbatim
Now we try to write a "code" block starting with a hash sign
# test 1,2,3
$ another test
2012-02-20 10:59:29 +01:00
Oh, let's try to do the same thing using sane syntax instead:
~~~
# test 1,2,3
$ another test
~~~
2011-05-22 09:21:19 +02:00
Now let's write the same block, with a bullest list preceding it.
* This is a bullet list
# test 1,2,3
$ another test
----
2011-08-17 23:02:43 +02:00
Test some tags
[[!tag tech life linux]]
[[!taglink tech life linux]]
2011-05-22 09:21:19 +02:00
2011-08-19 07:14:16 +02:00
Toggle:
[[!toggle id="ipsum" text="show"]]
[[!toggleable id="ipsum" text="""
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat.
[[!toggle id="ipsum" text="hide"]]
"""]]
2011-01-01 21:18:16 +01:00
----
2011-07-15 00:06:39 +02:00
This **SandBox** is also a [[blog]]! xxx
2009-11-22 21:08:49 +01:00
2011-05-20 22:11:06 +02:00
[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a
2011-02-18 08:05:58 +01:00
2011-09-15 05:32:29 +02:00
[[!format verilog """
module vc_Mux2 #( parameter W = 1 )
(
input [W-1:0] in0, in1,
input sel,
output reg [W-1:0] out
);
always @(*)
begin
case ( sel )
1'd0 : out = in0;
1'd1 : out = in1;
default : out = {W{1'bx}};
endcase
end
endmodule
2011-09-15 05:31:29 +02:00
"""]]
2012-09-07 10:51:55 +02:00
testing the ikiwiki sandbox.
Testing 1, 2, 3.....