X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=blobdiff_plain;f=doc%2Fsandbox.mdwn;h=0c6567f736e0553ed7cc9acfab1811593968ad5a;hp=42f9f3f3657a222864ee0db1d8f0ae892cd08ed6;hb=38c220324885e521b6223e0a4e16a4b804824740;hpb=da371733b53f564ec8dd349009a126552daaf84a diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 42f9f3f36..0c6567f73 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,12 +1,30 @@ -[[!tag test]] +# Sandbox -Hello, world! +[[!pagestats pages="/tags/*"]] -test...id Morjo $\sin(x)$ +[[!sidebar content="dfdsfsf"" +This is my custom sidebar for this page. + +\[[!calendar pages="posts/*"]] +"""]] + +[[!sidebar ]] + +## number 2 This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version ]]). +[[!toc levels=1 startlevel=2 ]] + +Let's try this~! + +w00t, how does this look on the **git** end? Well, as a commit of course. + +Testing this sandbox thing. + +## Blockquotes + > This is a blockquote. > > This is the first level of quoting. @@ -18,12 +36,19 @@ This is the [[SandBox]], a page anyone can edit to try out ikiwiki > > Back to the first level. -1. Hot Items that are hot - 1. Daves Insanity Sauce - 2. Marie Sharps - 1. Blazing Inferno -1. Not so Hot Items - 1. Tabasco +> 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 @@ -43,7 +68,9 @@ Bulleted list * one * footballs; runner; unices * Cool ! + * Indeed. +[[new link]] ---- @@ -61,10 +88,6 @@ Bulleted list * [GNU](http://www.gnu.org/) * Joey's blog -testing 123 - -I wonder how org-mode would look once formatted with ikiwiki.. - ---- # header1 @@ -79,22 +102,69 @@ I wonder how org-mode would look once formatted with ikiwiki.. **bold** - * bullet +_italic_ + - 1 list +Umcacaumca - 2 list +### this shows a problem with the list and the verbatim - 3 list +Now we try to write a "code" block starting with a hash sign -[[link]] + # test 1,2,3 + $ another test + + +Now let's write the same block, with a bullest list preceding it. -_italic_ +* This is a bullet list + + # test 1,2,3 + $ another test ---- -This **SandBox** is also a [[blog]]! +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"]] +"""]] +---- + +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 +"""]] + -[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]