]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/sandbox.mdwn
testing
[git.ikiwiki.info.git] / doc / sandbox.mdwn
index b7c9fc1851b700d4261bd1246d668f0a54d0d3fd..c3fb32b303be067c1a58fc32c1ea0c456bf2cee6 100644 (file)
@@ -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|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.
-
-----
+[[!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 a blockquote.
 >
 > This is the first level of quoting.
 >
-> > This is nested blockquote.
+> > This is nested blockquote.
 >
 >
->> And without a space works too.
+>> Without a space works too.
 >>> to three levels
 >
 > Back to the first level.
 
 >>> 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.
 Numbered list 
 
 1. First item.
@@ -48,9 +59,7 @@ Numbered list
 1. And another..
  1. foo
  2. bar
 1. And another..
  1. foo
  2. bar
-  3. baz
-   4. qux
-    5. quux
+ 3. quz
 
 Bulleted list
 
 
 Bulleted list
 
@@ -58,56 +67,109 @@ Bulleted list
 * *item*
 * item
 * one
 * *item*
 * item
 * one
-  * two
-     * three
-       * four
-        * five
+  * 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:
 
 
 ----
 
 ## Different sorts of links:
 
-* [[WikiLink]]
-* [[different_name_for_a_WikiLink|WikiLink]]
-* [[different name for a WikiLink (with spaces this time)|WikiLink]]
+* [[Features]]
+* <http://ikiwiki.info/ikiwiki/formatting/>
+* [[different_name_for_a_WikiLink|ikiwiki/WikiLink]]
 * <http://www.gnu.org/>
 * [GNU](http://www.gnu.org/)
 * <http://www.gnu.org/>
 * [GNU](http://www.gnu.org/)
-* [Email](mailto:noone@invalid)
-* WikiLink without any markup.
+* <a href="http://kitenet.net/~joey/">Joey's blog</a>
+
+----
 
 
------
+# header1
 
 
-This sandbox is also a [[blog]]!
+## header2
 
 
-[[inline pages="sandbox/*" rootpage="sandbox" show="5"]]
+### header3
 
 
-----
-[[newpage]]
----
+#### header4
 
 
-Ethan wants to make a [[sandbox/castle]] in the sand.
+##### header 5
 
 
-hi
+**bold**
 
 
-just testing
+_italic_
 
 
-Testing a user page for [[users/kyle]]
 
 
-----
-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
+
+
+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...
 
 
-[[if test="sandbox/C++" then="[[sandbox/C++]]" else="sad face!"]]
\ No newline at end of file
+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
+"""]]
+
+#<asd>
+
+This is simple enough for now [[sandbocen]] no?
+
+    Do code tags work?