X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e100bc5d194cecda54895db452379a099e2b4f5e..b3cca2d8bebcdc302ac040fe6cc78ec651cad08b:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index af357f4dc..51c24ba96 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,45 +1,60 @@ -This is the SandBox, a page anyone can edit to try out ikiwiki. +# Sandbox ----- +[[!pagestats pages="/tags/*"]] -So, I'm wondering why ikiwiki requires links to have no spaces in their names, and uses .html suffixes. I really don't like having to use [[CamelCase]] for multi-word links, and it's generally not good practice to encode stuff like filetype or specific technologies in the URL; that's what we have a MIME type for. Anyhow, this is really just a test for playing around in the sanbox, but those are the two things that bother me the most off the bat about ikiwiki. +An initial change +Hello, ikiwiki. -> For the former: because links with spaces get parsed as [[preprocessor_directives|preprocessordirective]]. You can get away with it if the first word doesn't correspond to a preprocessor directive. If you have another syntax you'd prefer, feel free to propose it. For instance, I can imagine extending the syntax with something like [["link with spaces"]]. -> For the latter: see the new `usedirs` option if you want to avoid .html suffixes. +Testing. ----- +[[!sidebar ]] -testing openid ... ignore. -Test. Проверка. テスト ığüşöçİ ทดสอบ éphémère +## number 2 +### number 3 -Here's a paragraph. +This is the SandBox, a page anyone can edit to try out ikiwiki +(version [[!version ]]). -Here's another one with *emphasised* text. +[[!toc levels=1 startlevel=2 ]] -do ë characters work? Sure. +See, online editing :-p -OpenID test. It works!! +Let's try this~! -Test.. +w00t, how does this look on the **git** end? Well, as a commit of course. -There are Polish diacritical characters: ą, ć, ę, ł, ń, ó, ś, ż, ź. +Testing this sandbox thing. -# Header +Awesome :P -## Subheader +## Blockquotes > This is a blockquote. > > This is the first level of quoting. > -> > This is nested blockquote. +> > This is a nested blockquote. > ->> And without a space works too. +>> Without a space works too. >>> to three levels > > Back to the first level. +> 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"""]] + + Numbered list 1. First item. @@ -48,9 +63,7 @@ Numbered list 1. And another.. 1. foo 2. bar - 3. baz - 4. qux - 5. quux + 3. quz Bulleted list @@ -58,56 +71,123 @@ Bulleted list * *item* * item * one - * two - * three - * four + * footballs; runner; unices + * Cool ! + * Indeed. + +[[new link]] ---- -[[haiku hint="sandbox play"]] +[[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]] +[[!haiku hint="sandbox play"]] ---- ## Different sorts of links: -* [[WikiLink]] -* [[different_name_for_a_WikiLink|WikiLink]] -* [[different name for a WikiLink (with spaces this time)|WikiLink]] +* [[Features]] +* +* [[different_name_for_a_WikiLink|ikiwiki/WikiLink]] * * [GNU](http://www.gnu.org/) -* [Email](mailto:noone@invalid) -* WikiLink without any markup. +* Joey's blog ------ +---- -This sandbox is also a [[blog]]! +# header1 -[[inline pages="sandbox/*" rootpage="sandbox" show="5"]] +## header2 ----- -[[newpage]] ---- +### header3 -Ethan wants to make a [[sandbox/castle]] in the sand. +#### header4 -hi +##### header 5 -just testing +**bold** -Testing a user page for [[users/kyle]] +_italic_ ----- -what happens if i edit something with an openid set? ------------ +Umcacaumca + +### 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 + + +Oh, let's try to do the same thing using sane syntax instead: + +~~~ +# test 1,2,3 +$ another test +~~~ + +Now let's write the same block, with a bullest list preceding it. + + +* This is a bullet list + + # test 1,2,3 + $ another test -So what's the point? [[How is this different to any other WiKi|features]] ---- -Test.. I was looking for a wiki supporting OpenID~ +Test some tags +[[!tag tech life linux]] +[[!taglink tech life linux]] + +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"]] +"""]] ---- -me too... + +This **SandBox** is also a [[blog]]! xxx + +[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]a + +[[!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 +"""]] + +# + +This is simple enough for now [[sandbocen]] no? + + Do code tags work? + +test by max + +test by bbb -This is a test for conflict2 \ No newline at end of file +Can I make a [[NewPage]]?