X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7d8a362f1be332313c2d9020fc92a0ea5258f377..26dbe8ba9a397d5d59af789c7ef3576ebdcf2db8:/doc/sandbox.mdwn?ds=inline diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index d0cc29ab7..c3fb32b30 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,45 +1,56 @@ -This is the SandBox, a page anyone can edit to try out ikiwiki. +# Sandbox ----- - -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. - -> For the former: because links with spaces get parsed as [[preprocessor_directives|preprocessordirectives]]. 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. - ----- +[[!pagestats pages="/tags/*"]] -testing openid ... ignore. +[[!sidebar content="dfdsfsf"" +This is my custom sidebar for this page. -Test. Проверка. テスト ığüşöçİ ทดสอบ éphémère +\[[!calendar pages="posts/*"]] +"""]] -Here's a paragraph. +[[!sidebar ]] -Here's another one with *emphasised* text. +## number 2 +### number 3 -do ë characters work? Sure. +This is the [[SandBox]], a page anyone can edit to try out ikiwiki +(version [[!version ]]). -OpenID test. It works!! +[[!toc levels=1 startlevel=2 ]] -Test.. +Let's try this~! -There are Polish diacritical characters: ą, ć, ę, ł, ń, ó, ś, ż, ź. +w00t, how does this look on the **git** end? Well, as a commit of course. -# Header +Testing this sandbox thing. -## 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 +59,7 @@ Numbered list 1. And another.. 1. foo 2. bar - 3. baz - 4. qux - 5. quux + 3. quz Bulleted list @@ -58,51 +67,109 @@ 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 + +---- ------ +# header1 -This sandbox is also a [[blog]]! +## header2 -[[inline pages="sandbox/*" rootpage="sandbox" show="5"]] +### header3 ----- -[[newpage]] ---- +#### header4 + +##### header 5 + +**bold** -Ethan wants to make a [[sandbox/castle]] in the sand. +_italic_ -hi -just testing +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 + + +Now let's write the same block, with a bullest list preceding it. + + +* This is a bullet list + + # test 1,2,3 + $ another test -Testing a user page for [[users/kyle]] ---- -what happens if i edit something with an openid set? ------------ +Test some tags +[[!tag tech life linux]] +[[!taglink tech life linux]] -So what's the point? [[How is this different to any other WiKi|features]] +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"]] +"""]] ---- -Test.. I was looking for a wiki supporting OpenID~ +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?