summaryrefslogtreecommitdiff
path: root/test/twiki-reader.twiki
blob: c2df1057306139193e813d28b3299ff93a20724d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
---+ header

---++ header level two

---+++ header level 3

---++++ header _level_ four

---+++++ header level 5

---++++++ header level 6

---+++++++ not a header

 --++ not a header

---+ emph and strong

_emph_ *strong*

__strong and emph__

*<i>emph inside</i> strong*

*strong with <i>emph</i>*

_<b>strong inside</b> emph_

---+ horizontal rule

top
---
bottom

---

---+ nop

<nop>_not emph_

---+ entities

hi & low

hi &amp; low

G&ouml;del

&#777;&#xAAA;

---+ comments

inline <!-- secret --> comment

<!-- secret -->

between blocks

 <!-- secret -->

---+ linebreaks

hi%BR%there

hi%BR%
there

---+ inline code

<code>*→*</code> =typed= <code class="haskell">>>=</code>

---+ code blocks

<verbatim>
case xs of
     (_:_) -> reverse xs
     []    -> ['*']
</verbatim>

<verbatim class="haskell">
case xs of
     (_:_) -> reverse xs
     []    -> ['*']
</verbatim>

---+ block quotes

Regular paragraph
<blockquote>
This is a block quote.

With two paragraphs.
</blockquote>
Nother paragraph.

---+ external links

[[http://google.com][<i>Google</i> search engine]]

http://pandoc.org

[[http://google.com]] [[http://yahoo.com]]

[[mailto:info@example.org][email me]]

!http://google.com

<nop>http://google.com

<noautolink>
http://google.com
</noautolink>

!info@example.org

<nop>info@example.org

<noautolink>
info@example.org
</noautolink>

---+ lists

   * Start each line
   * with an asterisk (*).
      * More asterisks gives deeper
         * and deeper levels.
   * Line breaks%BR%don't break levels.
   * Continuations
     are also possible
      * and do not break the list flow
   * Level one
Any other start ends the list.

   1. Start each line
   1. with a number (1.).
      1. More number signs gives deeper
         1. and deeper
         1. levels.
   1. Line breaks%BR%don't break levels.
   1. Blank lines

   1. end the list and start another.
Any other start also
ends the list.

   $ item 1: definition 1
   $ item 2: definition 2-1
      definition 2-2
   $ item _3_: definition _3_

   1. one
   1. two
      * two point one
      * two point two
   1. three
      $ three item one: three def one
   1. four
      $ four def one: this
         is a continuation
   1. five
      1. five sub 1
         1. five sub 1 sub 1
      1. five sub 2

   1. other
      I. list
      I. styles
   1. are
      i. also
      i. possible
   1. all
      a. the
      a. different
      a. styles
   1. are
      A. implemented
      A. and
      A. supported

---+ tables

|Orange|Apple|
|Bread|Pie|
|Butter|Ice cream|

|*Orange*|*Apple*|
|Bread|Pie|
|*Butter*|Ice cream|

|*Orange*|*Apple*|
|Bread%BR%%BR%and cheese|Pie%BR%%BR%*apple* and <i>carrot</i>|

| Orange | Apple     | more     |
| Bread  | Pie       | more     |
| Butter | Ice cream | and more |

---+ macros

%TEST%

%TEST{}%

%TEST{content with spaces}%

%TEST{"content with spaces"}%

%TEST{"content with spaces" ARG1="test"}%

%TEST{content with spaces ARG1=test}%

%TEST{ARG1=test content with spaces}%

%TEST{ARG1=test ARG2=test2}%

%TEST{ARG1="test" ARG2="test2"}%

%TEST{ARG1="test"
ARG2="test2"
multiline
does also work}%