X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d32681afb46ae449f48e45832803946c576d4689..3a04e96389def78bcb873a4487b85f4d75653199:/doc/sandbox.mdwn diff --git a/doc/sandbox.mdwn b/doc/sandbox.mdwn index 7dd00eb7d..db8aa639a 100644 --- a/doc/sandbox.mdwn +++ b/doc/sandbox.mdwn @@ -1,122 +1,263 @@ -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.sss +=========== -\- ndashes you say --- mdashes you also say ---- whatever the even longer ones are called, you say +I hope baby. -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]. +~~~ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +~~~ -Incidentally, my book is called *"The Bumper Book of Anal Gland Pus"*, so it is. +Nope my friend. -[BBC]:http://bbc.co.uk -[wikipedia]: http://wikipedia.org -[book]: http://amazon.co.uk +List: +* thing 1 +* thing 2 [[test page space allowed]] +* thing 3 +* * sublist a? [[TestPage]] +* * sublist b [[testpage]] +* thing 4 -Now to try a pure mingin' table: -Do footnotes automatically number then?[^footnote-footnote] +[[!meta date="Thu Jun 16 22:04:33 2005" updated="Thu Dec 22 01:23:20 2011"]] -| | Grouping || -First Header | Second Header | Third Header | - ------------ | :-----------: | -----------: | -Content | *Long Cell* || -Content | **Cell** | Cell | +This is the [[SandBox]], a page anyone can edit to try out ikiwiki +(version [[!version ]]). +vvvv +CamelCase ? -New section | More | Data | -And more | And more | -[Prototype table] +[[!tag sandbox tag2]] -| 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 | +What about [[this page]], nono better [[that page]]? -new section | why not? | -| Spannage || -[stobsaí table] +hello world (right back at ya) +wait how does versioning work -This is a formatted image ![image][] and a [link][] with attributes. +test, is it being saved? Probably. I will check. This seems really straightforward. -[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;" +Hello! +~~~ +pre formated text? +~~~ -Here is some text containing a second footnote.[^footnote-nuvver] +``` +testing markdown + with leading and enclosed spaces +``` +markdown `inline` single-backquotes? -How's about the anal ballbaggery that is referencing. Especially that of the Harvardonian persuasion? +# one -*"...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]. +- foo +## two +- bar +### trois +- blah + - more blah -## The first section [section1] +#### quatre -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"* +## bir +- bir -## The second section [section2] +## iki +- iki -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. +* yildiz +** cyildiz -Maths? Surely not.... +- tire + - ctire -<< e^(i pi) + 1 = 0 [Euler's identity]>> +* *i dene* +* **b dene** -<< x_(1,2) = (-b+-sqrt(b^2-4ac))/(2a) [quadratic equation solution]>> -You can also include formulas within a sentence, such as -<>. You can then make a reference to -[Euler's identity]. +1. number +2. list + a. ick + b. bar +| table | here | +|----| ---- | +| test adfasdfasdfa | 2 | +| subtest | adfad| -## The third section [section3] +Sort of formatted.. No borders, though. -*"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! -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. +> 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 -A definition list: +This is pretty sweet -Apple -: Pomaceous fruit of plants of the genus Malus in - the family Rosaceae. -: An american computer company. +Azerty +** Qsdf ** -Orange -: The fruit of an evergreen tree of the genus Citrus. +> +> Back to the first level. +> +> added a line in level 1 +> and another -* [top][] +Numbered list +1. First item. + 1. Sub item. + 1. Number 2 +1. Another. +1. And another.. + 1. foo + 2. bar + 3. quz + 3. quze -[^footnote-footnote]: This was the first ever footnote, ever. +Bulleted list -[^footnote-nuvver]: Here is the text of the footnote itself. +* 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 +test _this_ out. -## Bibliography +`test this code block` +[[!wikipedia War_of_1812]] +---- -[#Dullard:2006]: Professor PGCE-land. *The Boringest Book in the History of the Universe*. Arseball Press, 2006. +[[!template id=note text="this is generated by the [[plugins/haiku]] plugin"]] +[[!haiku hint="sandbox play"]] +---- + +## Different sorts of links: + +* [[Features]] +* +* [[different_name_for_a_WikiLink|ikiwiki/WikiLink]] +* +* [GNU](http://www.gnu.org/) +* Joey's blog + +---- + +# 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! + + +

+This is an email link: + +Send Mail +

+ +What follows is some preformatted text. Each line is proceeded by four spaces. + + 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 + 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; + }