MDL-49807 mod_wiki: minimum heading level should always be <h3>
[moodle.git] / mod / wiki / tests / fixtures / output / creole / 9
CommitLineData
3d89ccb3
MG
1<h3><a name="toc-1"></a>Top-level heading (1)</h3>
2<h4><a name="toc-2"></a>This a test for creole 0.1 (2)</h4>
3<h5><a name="toc-3"></a>This is a Subheading (3)</h5>
4<h6>Subsub (4)</h6>
5<h6>Subsubsub (5)</h6>
ba0c4843
PS
6<p>The ending equal signs should not be displayed:</p>
7<p>Top-level heading (1)</p>
3d89ccb3
MG
8<h4><a name="toc-4"></a>This a test for creole 0.1 (2)</h4>
9<h5><a name="toc-5"></a>This is a Subheading (3)</h5>
10<h6>Subsub (4)</h6>
11<h6>Subsubsub (5)</h6>
ba0c4843
PS
12<p>You can make things <strong>bold</strong> or <em>italic</em> or <strong><em>both</em></strong> or <em><strong>both</strong></em>.</p>
13<p>Character formatting extends across line breaks: <strong>bold,
14this is still bold. This line deliberately does not end in star-star.</strong></p>
15<p>Not bold. Character formatting does not cross paragraph boundaries.</p>
16<p>You can use <a href="http://internal+links">internal links</a> or <a href="http://www.wikicreole.org">external links</a>,
17give the link a <a href="http://internal+links">different</a> name.</p>
18<p>Here's another sentence: This wisdom is taken from <a href="http://Ward+Cunningham%27s">Ward Cunningham's</a>
19<a href="http://www.c2.com/doc/wikisym/WikiSym2006.pdf">Presentation at the Wikisym 06</a>.</p>
20<p>Here's a external link without a description: <a href="http://www.wikicreole.org">http://www.wikicreole.org</a></p>
21<p>Be careful that italic links are rendered properly: <em><a href="http://my.book.example/">My Book Title</a></em> </p>
22<p>Free links without braces should be rendered as well, like <a href="http://www.wikicreole.org/">http://www.wikicreole.org/</a> and <a href="http://www.wikicreole.org/users/~example">http://www.wikicreole.org/users/~example</a>. </p>
23<p>Creole1.0 specifies that <a href="http://bar">http://bar</a> and <a href="ftp://bar">ftp://bar</a> should not render italic, something like foo:<em>bar should render as italic.</em></p>
24<p>You can use this to draw a line to separate the page:</p>
25<hr />
26<p>You can use lists, start it at the first column for now, please...</p>
27<p>unnumbered lists are like</p>
28<ul>
29<li>item a</li>
30<li>item b</li>
31<li><strong>bold item c</strong></li>
32</ul>
33<p>blank space is also permitted before lists like:</p>
34<ul>
35<li>item a</li>
36<li>item b</li>
37<li>item c
38<ul>
39<li>item c.a</li>
40</ul>
41</li>
42</ul>
43<p>or you can number them</p>
44<ol>
45<li><a href="http://item+1">item 1</a></li>
46<li>item 2</li>
47<li><em> italic item 3 </em>
48<ol>
49<li>item 3.1</li>
50<li>item 3.2</li>
51</ol>
52</li>
53</ol>
54<p>up to five levels</p>
55<ul>
56<li>1
57<ul>
58<li>2
59<ul>
60<li>3
61<ul>
62<li>4
63<ul>
64<li>5</li>
65</ul>
66</li>
67</ul>
68</li>
69</ul>
70</li>
71</ul>
72</li>
73</ul>
74<ul>
75<li>You can havemultiline list items</li>
76<li>this is a second multilinelist item</li>
77</ul>
78<p>You can use nowiki syntax if you would like do stuff like this:</p>
79<pre>
80Guitar Chord C:
81||---|---|---|
82||-0-|---|---|
83||---|---|---|
84||---|-0-|---|
85||---|---|-0-|
86||---|---|---|
87</pre>
88<p>You can also use it inline nowiki <tt> in a sentence </tt> like this.</p>
3d89ccb3 89<h3><a name="toc-6"></a>Escapes</h3>
ba0c4843
PS
90<p>Normal Link: <a href="http://wikicreole.org/">http://wikicreole.org/</a> - now same link, but escaped: http://wikicreole.org/ </p>
91<p>Normal asterisks: **not bold**</p>
92<p>a tilde alone: ~</p>
93<p>a tilde escapes itself: ~xxx</p>
3d89ccb3 94<h5><a name="toc-7"></a>Creole 0.2</h5>
ba0c4843
PS
95<p>This should be a flower with the ALT text &quot;this is a flower&quot; if your wiki supports ALT text on images:</p>
96<p><div class="wiki_image_left"><p></p><img src="Red-Flower.jpg" alt="here is a red flower" /></div></p>
3d89ccb3 97<h5><a name="toc-8"></a>Creole 0.4</h5>
ba0c4843
PS
98<p>Tables are done like this:</p>
99<table>
100<thead>
101<tr>
102<th>header col1</th>
103<th>header col2</th>
104</tr>
105</thead>
106<tbody>
107<tr>
108<td>col1</td>
109<td>col2</td>
110</tr>
111<tr>
112<td>you</td>
113<td>can</td>
114</tr>
115<tr>
116<td>also</td>
117<td>align<br /> it.</td>
118</tr>
119</tbody>
120</table>
121<p>You can format an address by simply forcing linebreaks:</p>
122<p>My contact dates:<br />
123Pone: xyz<br />
124Fax: +45<br />
125Mobile: abc</p>
3d89ccb3 126<h5><a name="toc-9"></a>Creole 0.5</h5>
ba0c4843
PS
127<table>
128<thead>
129<tr>
130<th>Header title</th>
131<th>Another header title</th>
132</tr>
133</thead>
134<tbody>
135<tr>
136<td><tt> //not italic text// </tt></td>
137<td><tt> **not bold text** </tt></td>
138</tr>
139<tr>
140<td><em>italic text</em></td>
141<td><strong> bold text </strong></td>
142</tr>
143</tbody>
144</table>
3d89ccb3 145<h5><a name="toc-10"></a>Creole 1.0</h5>
ba0c4843 146<p>If interwiki links are setup in your wiki, this links to the WikiCreole page about Creole 1.0 test cases: <a href="http://WikiCreole%3ACreole1.0TestCases">WikiCreole:Creole1.0TestCases</a>.</p>