]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/sandbox.mdwn
really generate HTML5 by default
[git.ikiwiki.info.git] / doc / sandbox.mdwn
index 9009df3057b3bccbc72aa05a5330172a9521d73c..acf53e6a8312261f6bb957aa8f2b5834cb0594ef 100644 (file)
-This is the [[SandBox]], a page anyone can edit to try out ikiwiki (version [[!version  ]]).
+### Is this a heading?
 
-----
-2009/7/13 Monday Blue...\\
-While working on [[http://eoffice.im.fju.edu.tw/phpbb/viewtopic.php?p=27199|[97] Phpbb 與 Dokuwiki 之間的往來]] (External Link to //http://eoffice.im.fju.edu.tw/phpbb/viewtopic.php?p=27199// not working?), surf Internet for Wikis supporting //Creole V1.0//, found this site.
+Why doesn't the following work?..
+[[!color  foreground=white background=#ff0000 text="White text on red background"]]
 
-* I thought that creole markup is used by ikiwiki...
-* Thought about using //SVN/CVS// server, however with different idea
-* Kinda curious why **Tcl** does not show her face in this Wiki arena
-* It looks like that I was wrong, from Wikipedia Creole page it mention that ikiwiki is also adopting Creole markup.
+Sure it is.
+===========
 
----
+~~~
+Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+~~~
 
-Guten Morgen aus Deutschland. Wir mögen Umläuter (ich weiß, der Plural ist falsch, aber dafür hat er einen). Die sind heutzutage kein Ärgernis mehr.
+List:
 
-☺ becomes ☺ 
+* thing 1
+* thing 2 [[test page space allowed]]
+* thing 3
+* * sublist a? [[TestPage]]
+* * sublist b [[testpage]]
+* thing 4
 
-<script>alert("If this pops, ikiwiki is not cross site scripting safe."); /* Fortunately, this does not work. */</script>
 
---- 
-I try to have a discussion page !!!
-----
 
-Testing OpenID some more..
+[[!meta date="Thu Jun 16 22:04:33 2005" updated="Thu Dec 22 01:23:20 2011"]]
+
+This is the [[SandBox]], a page anyone can edit to try out ikiwiki
+(version [[!version  ]]). Ikiwiki described on Wikipedia: [[!wikipedia Ikiwiki]].
+
+vvvv
+CamelCase ?
+
+[[!tag sandbox tag2]]
+
+What about [[this page]], nono better [[that page]]?
+
+hello world (right back at ya)
+
+wait how does versioning work
+
+test, is it being saved? Probably. I will check. This seems really straightforward.
+
+Hello!
+
+~~~
+pre formated text?
+~~~
+
+```
+testing markdown  
+    with leading    and enclosed spaces
+```
+
+markdown `inline` single-backquotes?
+
+# one
+
+- foo
+
+## two {#alt-link-name-not-working}
+
+- bar
+
+### trois
+
+- blah
+    - more blah
+
+#### quatre
+
+## bir
+- bir
+
+## iki
+- iki
+
+* yildiz
+** cyildiz
 
-test more test
-[[中文显示]]
+- tire
+  - ctire
 
-Here's a paragraph.
+* *i dene*
+* **b dene**
 
-The following code block is pre-formatted:
 
-    Testing what
-    pre-formatted code blocks
-    look like.
+1. number
+2. list
+    a. ick
+    b. bar
 
-Here's another one with *emphasised* text.
+| table | here |
+|----| ---- |
+| test adfasdfasdfa | 2 |
+| subtest | adfad|
 
-# Header
+Sort of formatted.. No borders, though.
 
-## Subheader
 
 > This is a blockquote.
 >
 > This is the first level of quoting.
+A block of text
 >
-> > This is nested blockquote.
+> > This is nested blockquote.
 >
 >> Without a space works too.
->>> to three levels of [term papers](http://www.superiorpapers.com/)
+>>> to three levels
+
+This is pretty sweet
+
+Azerty
+** Qsdf **
+
 >
 > Back to the first level.
+>
+> added a line in level 1
+> and another
+
 
 Numbered list 
 
 1. First item.
- 1. Sub item.
+    1. Sub item.
+    1. Number 2
 1. Another.
 1. And another..
- 1. foo
- 2. bar
-  3. baz
-   4. qux
-    5. quux
-     6. wibble
+    1. foo
+    2. bar
+    3. quz
+    3. quze
 
 Bulleted list
 
 * item
-* *item*
+* *italic item*
 * item
 * one
-  * two
-     * three
-       * four
-        * five
-
+  * footballs; runner; unices
+  * Cool !
+    * test
+  * this
+* something else
+  * some more
+  * and more
+    * and
+      * this
+> a blockquote
+> in a list
+> how is this handled
+        *this  _ _ _
+      * this 2
+      * this 3
+
+test _this_ out.
+
+`test this code block`
+[[!wikipedia War_of_1812]]
 ----
 
 [[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
@@ -82,102 +163,98 @@ Bulleted list
 
 ----
 
-The haiku will change after every save, mind you.
-
 ## 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/)
-* [Email](mailto:noone@invalid)
-* [![ikiwiki logo](http://ikiwiki.info/logo/ikiwiki.png)](http://ikiwiki.info)
-* <a href="http://www.google.com/">plain old html link</a>
-* [[foo]]
-
------
-
-This SandBox is also a [[blog]]!
-
-[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]
-
---------
-
-This gives an example of inline code: `tar | netcat` is a nice way to transfer bulk files over the net
-
-But, of course, rsync is better.
+* <a href="http://kitenet.net/~joey/">Joey's blog</a>
 
 ----
 
-Let's see what happens... ~~
+# header1
 
-#中文标题一
-##中文标题二
-###中文标题三
-...
-######中文标题六
+## header2
 
-###正文:
+### header3
 
-君不见,黄河之水天上来,奔流到海不复回。
+#### header4
 
-君不见,高堂明镜悲白发,朝如青丝暮成雪。
+##### header 5
 
-人生得意须尽欢,莫使金樽空对月。
+**bold**
 
-天生我材必有用,千金散尽还复来。
+_italic_
 
-###列表:
+test ms
 
-* 天空
+opopopo
+----
 
-   1. 蓝色的
-   2. 好高啊
+This **SandBox** is also a [[blog]]!
 
-* 海洋
+[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]
 
-   1. 有鱼
-       
-       * 鲸鱼
-       * 鲨鱼
-           
+Testy test!
 
-* 大地
 
-###链接:
+<p>
+This is an email link:
+<a href="mailto:erik.josefsson@europarl.europa.eu?Subject=Hello%20again" target="_top">
+Send Mail</a>
+</p>
 
-[谷歌](http://www.google.com)
+What follows is some preformatted text.  Each line is proceeded by four spaces.
 
-###引用:
+    Test
 
-> 一级引用
->
-> 一级引用
->
-> > 二级引用
->
->> 没有空格也可以
->>> 三级引用
->
-> 回到一级引用
+    <Test>
 
+    <test>
+    <test>
 
-----
+    <test>
+      <child />
+    </test>
 
+...Now why doesn't it work like that on my own copy of ikiwiki? :(
 
-testing
+Räksmörgås.
 
---
-[[!toc  levels=2]]
+`pre?`
 
-[[Mamma Mia]]
+Testing. Test. 試験として書き込みします。
+ℜ𝔢𝔞𝔩𝔩𝔶 𝔠𝔬𝔬𝔩 𝔣𝔬𝔫𝔱, 𝔪𝔞𝔫. 
+𝕀𝕗 𝕥𝕙𝕒𝕥'𝕤 𝕨𝕙𝕒𝕥 𝕪𝕠𝕦'𝕣𝕖 𝕚𝕟𝕥𝕠,
+𝓟𝓮𝓻𝓼𝓸𝓷𝓪𝓵𝓵𝔂, 𝓘 𝓵𝓲𝓴𝓮 𝓪 𝓫𝓲𝓽 𝓸𝓯 𝓼𝓽𝔂𝓵𝓮. 𝓐𝓷𝓭 𝓬𝓵𝓪𝓼𝓼.
+𝕭𝖚𝖙 𝕴 𝖉𝖔𝖓'𝖙 𝖍𝖆𝖛𝖊 𝖆 𝖇𝖚𝖌 𝖆𝖇𝖔𝖚𝖙 𝖎𝖙.
 
-----
+Καλημέρα!
+
+test
 
-[[!format  c """
-void main () {
-    printf("hello, world!");
-}
-"""]]
+I must **emphasise** this.
 
 
+// more pointers
+    #include <iostream>
+    using namespace std;
+    
+    int main ()
+    {
+      int firstvalue = 5, secondvalue = 15;
+      int * p1, * p2;
+    
+      p1 = &firstvalue;  // p1 = address of firstvalue
+      p2 = &secondvalue; // p2 = address of secondvalue
+      *p1 = 10;          // value pointed to by p1 = 10
+      *p2 = *p1;         // value pointed to by p2 = value pointed to by p1
+      p1 = p2;           // p1 = p2 (value of pointer is copied)
+      *p1 = 20;          // value pointed to by p1 = 20
+      
+      cout << "firstvalue is " << firstvalue << '\n';
+      cout << "secondvalue is " << secondvalue << '\n';
+      return 0;
+    }