git.iko.soy/typeable/pandoc
on rc/2.11.0.3 help sign in
typeable/pandoc/test/twiki-reader.twiki
221 lines 3.1 kB history raw
1---+ header
3---++ header level two
5---+++ header level 3
7---++++ header _level_ four
9---+++++ header level 5
11---++++++ header level 6
13---+++++++ not a header
15 --++ not a header
17---+ emph and strong
19_emph_ *strong*
21__strong and emph__
23*<i>emph inside</i> strong*
25*strong with <i>emph</i>*
27_<b>strong inside</b> emph_
29---+ horizontal rule
31top
32---
33bottom
35---
37---+ nop
39<nop>_not emph_
41---+ entities
43hi & low
45hi &amp; low
47G&ouml;del
49&#777;&#xAAA;
51---+ comments
53inline <!-- secret --> comment
55<!-- secret -->
57between blocks
59 <!-- secret -->
61---+ linebreaks
63hi%BR%there
65hi%BR%
66there
68---+ inline code
70<code>*→*</code> =typed= <code class="haskell">>>=</code>
72---+ code blocks
74<verbatim>
75case xs of
76 (_:_) -> reverse xs
77 [] -> ['*']
78</verbatim>
80<verbatim class="haskell">
81case xs of
82 (_:_) -> reverse xs
83 [] -> ['*']
84</verbatim>
86---+ block quotes
88Regular paragraph
89<blockquote>
90This is a block quote.
92With two paragraphs.
93</blockquote>
94Nother paragraph.
96---+ external links
98[[http://google.com][<i>Google</i> search engine]]
100http://pandoc.org
102[[http://google.com]] [[http://yahoo.com]]
104[[mailto:info@example.org][email me]]
106!http://google.com
108<nop>http://google.com
110<noautolink>
111http://google.com
112</noautolink>
114!info@example.org
116<nop>info@example.org
118<noautolink>
119info@example.org
120</noautolink>
122---+ lists
124 * Start each line
125 * with an asterisk (*).
126 * More asterisks gives deeper
127 * and deeper levels.
128 * Line breaks%BR%don't break levels.
129 * Continuations
130 are also possible
131 * and do not break the list flow
132 * Level one
133Any other start ends the list.
135 1. Start each line
136 1. with a number (1.).
137 1. More number signs gives deeper
138 1. and deeper
139 1. levels.
140 1. Line breaks%BR%don't break levels.
141 1. Blank lines
143 1. end the list and start another.
144Any other start also
145ends the list.
147 $ item 1: definition 1
148 $ item 2: definition 2-1
149 definition 2-2
150 $ item _3_: definition _3_
152 1. one
153 1. two
154 * two point one
155 * two point two
156 1. three
157 $ three item one: three def one
158 1. four
159 $ four def one: this
160 is a continuation
161 1. five
162 1. five sub 1
163 1. five sub 1 sub 1
164 1. five sub 2
166 1. other
167 I. list
168 I. styles
169 1. are
170 i. also
171 i. possible
172 1. all
173 a. the
174 a. different
175 a. styles
176 1. are
177 A. implemented
178 A. and
179 A. supported
181---+ tables
183|Orange|Apple|
184|Bread|Pie|
185|Butter|Ice cream|
187|*Orange*|*Apple*|
188|Bread|Pie|
189|*Butter*|Ice cream|
191|*Orange*|*Apple*|
192|Bread%BR%%BR%and cheese|Pie%BR%%BR%*apple* and <i>carrot</i>|
194| Orange | Apple | more |
195| Bread | Pie | more |
196| Butter | Ice cream | and more |
198---+ macros
200%TEST%
202%TEST{}%
204%TEST{content with spaces}%
206%TEST{"content with spaces"}%
208%TEST{"content with spaces" ARG1="test"}%
210%TEST{content with spaces ARG1=test}%
212%TEST{ARG1=test content with spaces}%
214%TEST{ARG1=test ARG2=test2}%
216%TEST{ARG1="test" ARG2="test2"}%
218%TEST{ARG1="test"
219ARG2="test2"
220multiline
221does also work}%