git.iko.soy/typeable/pandoc
on 1.15.0.5 help sign in
typeable/pandoc/tests/mediawiki-reader.wiki
384 lines 4.7 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'''''emph inside'' strong'''
25'''strong with ''emph'''''
27'''''strong inside''' emph''
29== horizontal rule ==
31top
32----
33bottom
35----
37== nowiki ==
39<nowiki>''not emph''</nowiki>
41== strikeout ==
43<strike> This is ''struck out''</strike>
45== entities ==
47hi & low
49hi &amp; low
51G&ouml;del
53&#777;&#xAAA;
55== comments ==
57inline<!-- secret --> comment
59<!-- secret -->
61between blocks
63 <!-- secret -->
65== linebreaks ==
67hi<br/>there
69hi<br>
70there
72== : indents ==
74hi
75: there
76bud
78hi
79:: there
80bud
82== p tags ==
84hi there
85<p>
86bud
87<p>
88another
89</p>
91== raw html ==
93hi <span style="color:red">''there''</span>.
95<ins>inserted</ins>
97<div class="special">
98hi ''there''
99</div>
101== sup, sub, del ==
103H<sub>2</sub>O base<sup>''exponent''</sup>
104<del>hello</del>
106== inline code ==
108<code>*→*</code> <tt>typed</tt> <hask>>>=</hask>
110== code blocks ==
112<pre>
113case xs of
114 (_:_) -> reverse xs
115 [] -> ['*']
116</pre>
118<haskell>
119case xs of
120 (_:_) -> reverse xs
121 [] -> ['*']
122</haskell>
124<syntaxhighlight lang="ruby" line start=100>
125widgets.each do |w|
126 print w.price
127end
128</syntaxhighlight>
130== block quotes ==
132Regular paragraph
133<blockquote>
134This is a block quote.
136With two paragraphs.
137</blockquote>
138Nother paragraph.
140== external links ==
142[http://google.com ''Google'' search engine]
144http://pandoc.org
146[http://google.com] [http://yahoo.com]
148[mailto:info@example.org email me]
150== internal links ==
152[[Help]]
154[[Help|the help page]]
156[[Help]]ers
158[[Help]]<nowiki/>ers
160[[Help:Contents|]]
162[[#My anchor]]
164[[Page#with anchor|and text]]
166== images ==
168[[File:example.jpg|caption]]
170[[File:example.jpg|border|the ''caption'' with [http://google.com external link]]]
172[[File:example.jpg|frameless|border|30x40px|caption]]
174[[File:example.jpg]]
176[[Archivo:example_es.jpg]]
178== lists ==
180* Start each line
181* with an asterisk (*).
182** More asterisks gives deeper
183*** and deeper levels.
184* Line breaks<br/>don't break levels.
185*** But jumping levels creates empty space.
186Any other start ends the list.
188** two
189* one
191# Start each line
192# with a number sign (#).
193## More number signs gives deeper
194### and deeper
195### levels.
196# Line breaks<br/>don't break levels.
197### But jumping levels creates empty space.
198# Blank lines
200# end the list and start another.
201Any other start also
202ends the list.
204;item 1
205: definition 1
206;item 2
207: definition 2-1
208: definition 2-2
210# one
211# two
212#* two point one
213#* two point two
214# three
215#; three item one
216#: three def one
217# four
218#: four def one
219#: this looks like a continuation
220#: and is often used
221#: instead<br/>of <nowiki><br/></nowiki>
222# {{{template
223|author=John
224|title=My Book
225}}}
226## five sub 1
227### five sub 1 sub 1
228## five sub 2
230<ol>
231 <li>list item ''emph''
232 <ol>
233 <li>list item B1</li>
234 <li>list item B2</li>
235 </ol>continuing list item A1
236 </li>
237 <li>list item A2</li>
238</ol>
240<ol>
241#abc
242#def
243#ghi
244</ol>
246<ol start="9">
247<li>Amsterdam</li>
248<li>Rotterdam</li>
249<li>The Hague</li>
250</ol>
252== math ==
254Here is some <math>x=\frac{y^\pi}{z}</math>.
256With spaces: <math> x=\frac{y^\pi}{z} </math>.
258== preformatted blocks ==
260 Start each line with a space.
261 Text is '''preformatted''' and
262 ''markups'' '''''can''''' be done.
264 hell yeah
266 <nowiki>Start with a space in the first column,
267(before the <nowiki>).
269Then your block format will be
270 maintained.
272This is good for copying in code blocks:
274def function():
275 """documentation string"""
277 if True:
278 print True
279 else:
280 print False</nowiki>
282Not<hr/> preformatted
284Don't need
285 a blank line
286around a preformatted block.
288== templates ==
290{{Welcome}}
292{{Foo:Bar}}
294{{Thankyou|all your effort|Me}}
296Written {{{date}}} by {{{name}}}.
298== tables ==
300{|
301|-
302|Orange
303|Apple
304|-
305|Bread
306|Pie
307|-
308|Butter
309|Ice cream
310|}
312{|
313|+Food complements
314!Orange
315!Apple
316|-
317|Bread
318|Pie
319|-
320!Butter
321|Ice cream
322|}
324{|
325|+Food complements
326!Orange
327!Apple
328|-
329|Bread
331and cheese
332|Pie
334# apple
335# carrot
337|}
339{|
340| Orange || Apple || more
341|-
342| Bread || Pie || more
343|-
344| Butter || Ice cream || and more
345|}
347{|width="50%"
348! align="left" width="50%"| Left
349! align="right"|Right
350! align="center"|Center
351|-
352| left || 15.00 || centered
353|-
354| more || 2.0 || more
355|}
357{|
358|-
359|Orange
360|Apple
361|-
362|Bread
364{|
365!fruit
366!topping
367|-
368|apple
369|ice cream
370|}
371|-
372|Butter
373|Ice cream
374|}
376{|
377|Orange
378|}Paragraph after the table.
380== notes ==
382My note!<ref>This.</ref>
384URL note.<ref>http://docs.python.org/library/functions.html#range</ref>