]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/sandbox.mdwn
(no commit message)
[git.ikiwiki.info.git] / doc / sandbox.mdwn
index 7dd00eb7de38da6fa7ea58c92a7338a0f91f11c0..34d4c2c064a8550d328b1f25e04cf327ec7482dc 100644 (file)
-Title: stobsaí does some markdown
-Author: stíobhart matulevicz
-Affiliation: madra.net
-Copyright: madra.net, 2012
-Date: 19th May 2012
-Comment: This is the most anally deficient document ever written by the hand of God [or "Jawd", as some people like to pronounce it]
-Quotes Language: French
-Meta: This is an arbitrary metatag I just invented
+### Is this a heading?
 
-### Let's try some Hairy Navigation [top]
+Why doesn't the following work?..
+[[!color  foreground=white background=#ff0000 text="White text on red background"]]
 
-* [section1][]
-* [section2][]
-* [section3][]
+Sure it is.
+===========
 
-\- ndashes you say  
--- mdashes you also say  
---- whatever the even longer ones are called, you say
+~~~
+Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+~~~
 
-how's about a link to the [BBC] and to [wikipedia] with the URLs separate from the text. That looks a lot neater, in my [book]. 
+List:
 
-Incidentally, my book is called *"The Bumper Book of Anal Gland Pus"*, so it is.
+* thing 1
+* thing 2 [[test page space allowed]]
+* thing 3
+* * sublist a? [[TestPage]]
+* * sublist b [[testpage]]
+* thing 4
 
-[BBC]:http://bbc.co.uk
-[wikipedia]: http://wikipedia.org
-[book]: http://amazon.co.uk
 
 
-Now to try a pure mingin' table:
+[[!meta date="Thu Jun 16 22:04:33 2005" updated="Thu Dec 22 01:23:20 2011"]]
 
-Do footnotes automatically number then?[^footnote-footnote]
+This is the [[SandBox]], a page anyone can edit to try out ikiwiki
+(version [[!version  ]]).
+vvvv
+CamelCase ?
 
+[[!tag sandbox tag2]]
 
-|             |          Grouping           ||
-First Header  | Second Header | Third Header |
- ------------ | :-----------: | -----------: |
-Content       |          *Long Cell*        ||
-Content       |   **Cell**    |         Cell |
+What about [[this page]], nono better [[that page]]?
 
-New section   |     More      |         Data |
-And more      |            And more          |
-[Prototype table]
+hello world (right back at ya)
 
-| Why can I not do a table? ||
-| Reason | Likelihood |
------- | ------: |
-you're shit | medium |
-markdown is shit | low |
-tables are shit | high |
-something to do with the linebreaks | none |
+wait how does versioning work
 
-new section | why not? |
-| Spannage ||
-[stobsaí table]
+test, is it being saved? Probably. I will check. This seems really straightforward.
 
+Hello!
 
-This is a formatted image ![image][] and a [link][] with attributes.
+~~~
+pre formated text?
+~~~
 
-[image]: http://www.digitaltimes.ie/wp-content/uploads/2012/01/google-classic.jpg "Goggle-hyoo!" width=465px height=326px
-[link]:  http://madra.net "madralinnok" class=external
-         style="border: solid #ff9999 1px;"
+```
+testing markdown  
+    with leading    and enclosed spaces
+```
 
+markdown `inline` single-backquotes?
 
-Here is some text containing a second footnote.[^footnote-nuvver]
+# one
 
+- foo
 
-How's about the anal ballbaggery that is referencing. Especially that of the Harvardonian persuasion?
+## two {#alt-link-name-not-working}
 
-*"...Well, I think that Professor Dullard McTreacle is quite possibly the most tedious man in the whole Universe. My books are much more interesting and I have reliable reports that some people have managed to stay awake 'til the end of the first page, while reading them..."* [PGCE-land, 2006][#Dullard:2006].
+- bar
 
+### trois
 
+- blah
+    - more blah
 
+#### quatre
 
+## bir
+- bir
 
-## The first section [section1]
+## iki
+- iki
 
-This is a fine section with a lot going for it. In fact, for a lot of people, this is the *section du jour*. The great Norman Pustule himself described this section as smelling like *"The Bovril of Thespes, decanted through the gussets of Joan of Arc"*
+* yildiz
+** cyildiz
 
-## The second section [section2]
+- tire
+  - ctire
 
-Not many people expected the second section to measure up to the elegance of the first and, in this, they were not disappointed. Where the first section had verve and drive and an almost cavalier attitude to the English language, the second sectioned confined itself to positing the end of life in The Universe itself. A much more modest venture.
+* *i dene*
+* **b dene**
 
-Maths?  Surely not....
 
-<< e^(i pi) + 1 = 0 [Euler's identity]>>
+1. number
+2. list
+    a. ick
+    b. bar
 
-<< x_(1,2) = (-b+-sqrt(b^2-4ac))/(2a) [quadratic equation solution]>>
+| table | here |
+|----| ---- |
+| test adfasdfasdfa | 2 |
+| subtest | adfad|
 
-You can also include formulas within a sentence, such as
-<<x^2 + y^2 = 1>>.  You can then make a reference to
-[Euler's identity].
+Sort of formatted.. No borders, though.
 
 
-## The third section [section3]
+> This is a blockquote.
+>
+> This is the first level of quoting.
+A block of text
+>
+> > This is a nested blockquote.
+>
+>> Without a space works too.
+>>> to three levels
 
-*"And what of the third section?"* you ask. Well, coming hard on the heels of the award-winning first and second sections, the third section had a lot to live up to. So it was no surprise to most people that it fell flat on its stupid looking face. The third section smelled of eggs, pifgas and a myriad of other noxious odours. It reeked, ponged and whiffed, in equal measure and --what's worse-- it never washed its nets!
+This is pretty sweet
 
-Well, folks. That's the end of the document. Hope you liked it. Be sure to tune in again next week, when I outline the basic principles of the game of *Count Yer Nose*, which has been a firm family favourite for three hundred and seventeen years.
+Azerty
+** Qsdf **
 
-A definition list:
+>
+> Back to the first level.
+>
+> added a line in level 1
+> and another
 
-Apple
-:   Pomaceous fruit of plants of the genus Malus in 
-    the family Rosaceae.
-:   An american computer company.
 
-Orange
-:   The fruit of an evergreen tree of the genus Citrus.
+Numbered list 
 
+1. First item.
+    1. Sub item.
+    1. Number 2
+1. Another.
+1. And another..
+    1. foo
+    2. bar
+    3. quz
+    3. quze
 
-* [top][]
+Bulleted list
 
+* item
+* *italic item*
+* item
+* one
+  * 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
 
-[^footnote-footnote]: This was the first ever footnote, ever.
+test _this_ out.
 
-[^footnote-nuvver]: Here is the text of the footnote itself.
+`test this code block`
+[[!wikipedia War_of_1812]]
+----
 
+[[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]]
+[[!haiku hint="sandbox play"]]
 
-## Bibliography
+----
 
-[#Dullard:2006]: Professor PGCE-land. *The Boringest Book in the History of the Universe*.  Arseball Press, 2006.
+## 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/)
+* <a href="http://kitenet.net/~joey/">Joey's blog</a>
+
+----
+
+# header1
+
+## header2
+
+### header3
+
+#### header4
+
+##### header 5
+
+**bold**
+
+_italic_
+
+test ms
+
+opopopo
+----
+
+This **SandBox** is also a [[blog]]!
+
+[[!inline pages="sandbox/* and !*/Discussion" rootpage="sandbox" show="4" archive="yes"]]
+
+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>
+
+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? :(
+
+Räksmörgås.
+
+`pre?`
+
+Testing. Test. 試験として書き込みします。
+ℜ𝔢𝔞𝔩𝔩𝔶 𝔠𝔬𝔬𝔩 𝔣𝔬𝔫𝔱, 𝔪𝔞𝔫. 
+𝕀𝕗 𝕥𝕙𝕒𝕥'𝕤 𝕨𝕙𝕒𝕥 𝕪𝕠𝕦'𝕣𝕖 𝕚𝕟𝕥𝕠,
+𝓟𝓮𝓻𝓼𝓸𝓷𝓪𝓵𝓵𝔂, 𝓘 𝓵𝓲𝓴𝓮 𝓪 𝓫𝓲𝓽 𝓸𝓯 𝓼𝓽𝔂𝓵𝓮. 𝓐𝓷𝓭 𝓬𝓵𝓪𝓼𝓼.
+𝕭𝖚𝖙 𝕴 𝖉𝖔𝖓'𝖙 𝖍𝖆𝖛𝖊 𝖆 𝖇𝖚𝖌 𝖆𝖇𝖔𝖚𝖙 𝖎𝖙.
+
+Καλημέρα!
+
+test
+
+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;
+    }