Wiki source code of Main
Version 4.1 by Ludovic Dubost on 2008/09/09 12:15
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | =Wiki Creole Sandbox | ||
2 | |||
3 | {{velocity}} | ||
4 | #info("This page supports Wiki Creole Syntax") | ||
5 | {{velocity}} | ||
6 | |||
7 | = Top-level heading (1) | ||
8 | == This a test for creole 0.1 (2) | ||
9 | === This is a Subheading (3) | ||
10 | ==== Subsub (4) | ||
11 | ===== Subsubsub (5) | ||
12 | |||
13 | The ending equal signs should not be displayed: | ||
14 | |||
15 | = Top-level heading (1) = | ||
16 | == This a test for creole 0.1 (2) == | ||
17 | === This is a Subheading (3) === | ||
18 | ==== Subsub (4) ==== | ||
19 | ===== Subsubsub (5) ===== | ||
20 | |||
21 | You can make things **bold** or //italic// or **//both//** or //**both**//. | ||
22 | |||
23 | Character formatting extends across line breaks: **bold, | ||
24 | this is still bold. This line deliberately does not end in star-star. | ||
25 | |||
26 | Not bold. Character formatting does not cross paragraph boundaries. | ||
27 | |||
28 | You can use [[internal links]] or [[http://www.wikicreole.org|external links]], | ||
29 | give the link a [[internal links|different]] name. | ||
30 | |||
31 | Here's another sentence: This wisdom is taken from [[Ward Cunningham's]] | ||
32 | [[http://www.c2.com/doc/wikisym/WikiSym2006.pdf|Presentation at the Wikisym 06]]. | ||
33 | |||
34 | Here's a external link without a description: [[http://www.wikicreole.org]] | ||
35 | |||
36 | Be careful that italic links are rendered properly: //[[http://my.book.example/|My Book Title]]// | ||
37 | |||
38 | Free links without braces should be rendered as well, like http://www.wikicreole.org/ and http://www.wikicreole.org/users/~example. | ||
39 | |||
40 | Creole1.0 specifies that http://bar and ftp://bar should not render italic, | ||
41 | something like foo://bar should render as italic. | ||
42 | |||
43 | You can use this to draw a line to separate the page: | ||
44 | ---- | ||
45 | |||
46 | You can use lists, start it at the first column for now, please... | ||
47 | |||
48 | unnumbered lists are like | ||
49 | * item a | ||
50 | * item b | ||
51 | * **bold item c** | ||
52 | |||
53 | blank space is also permitted before lists like: | ||
54 | * item a | ||
55 | * item b | ||
56 | * item c | ||
57 | ** item c.a | ||
58 | |||
59 | or you can number them | ||
60 | # [[item 1]] | ||
61 | # item 2 | ||
62 | # // italic item 3 // | ||
63 | ## item 3.1 | ||
64 | ## item 3.2 | ||
65 | |||
66 | up to five levels | ||
67 | * 1 | ||
68 | ** 2 | ||
69 | *** 3 | ||
70 | **** 4 | ||
71 | ***** 5 | ||
72 | |||
73 | * You can have | ||
74 | multiline list items | ||
75 | * this is a second multiline | ||
76 | list item | ||
77 | |||
78 | You can use nowiki syntax if you would like do stuff like this: | ||
79 | |||
80 | {{{ | ||
81 | Guitar Chord C: | ||
82 | |||
83 | ||---|---|---| | ||
84 | ||-0-|---|---| | ||
85 | ||---|---|---| | ||
86 | ||---|-0-|---| | ||
87 | ||---|---|-0-| | ||
88 | ||---|---|---| | ||
89 | ~}}} | ||
90 | |||
91 | Note: if you look at the source code of the above, you see the escape char (tilde, ~ ) | ||
92 | being used to escape the closing triple curly braces. This is to do nowiki nesting in this | ||
93 | wiki which doesn't follow Creole 1.0 yet (closing triple curly braces should be indented | ||
94 | by one space). | ||
95 | |||
96 | You can also use it inline nowiki {{{ in a sentence ~}}} like this. | ||
97 | |||
98 | = Escapes = | ||
99 | Normal Link: http://wikicreole.org/ - now same link, but escaped: ~http://wikicreole.org/ | ||
100 | |||
101 | Normal asterisks: ~**not bold~** | ||
102 | |||
103 | a tilde alone: ~ | ||
104 | |||
105 | a tilde escapes itself: ~~xxx | ||
106 | |||
107 | === Creole 0.2 === | ||
108 | |||
109 | This should be a flower with the ALT text "this is a flower" if your wiki supports ALT text on images: | ||
110 | |||
111 | {{Red-Flower.jpg|here is a red flower}} | ||
112 | |||
113 | === Creole 0.4 === | ||
114 | |||
115 | Tables are done like this: | ||
116 | |||
117 | |=header col1|=header col2| | ||
118 | |col1|col2| | ||
119 | |you |can | | ||
120 | |also |align\\ it. | | ||
121 | |||
122 | You can format an address by simply forcing linebreaks: | ||
123 | |||
124 | My contact dates:\\ | ||
125 | Pone: xyz\\ | ||
126 | Fax: +45\\ | ||
127 | Mobile: abc | ||
128 | |||
129 | === Creole 0.5 === | ||
130 | |||
131 | |= Header title |= Another header title | | ||
132 | | {{{ //not italic text// ~}}} | {{{ **not bold text** ~}}} | | ||
133 | | //italic text// | ** bold text ** | | ||
134 | |||
135 | === Creole 1.0 === | ||
136 | |||
137 | If interwiki links are setup in your wiki, this links to the WikiCreole page about Creole 1.0 test cases: [[WikiCreole:Creole1.0TestCases]]. |