git.iko.soy/typeable/pandoc
on rc/2.11.3.1 help sign in
typeable/pandoc/test/mediawiki-reader.wiki
396 lines 4.9 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|frameless|border|30px|caption]]
176[[File:example.jpg|page=4|30px|border|caption]]
178[[File:example.jpg]]
180[[Archivo:example_es.jpg]]
182== lists ==
184* Start each line
185* with an asterisk (*).
186** More asterisks gives deeper
187*** and deeper levels.
188* Line breaks<br/>don't break levels.
189*** But jumping levels creates empty space.
190Any other start ends the list.
192** two
193* one
195# Start each line
196# with a number sign (#).
197## More number signs gives deeper
198### and deeper
199### levels.
200# Line breaks<br/>don't break levels.
201### But jumping levels creates empty space.
202# Blank lines
204# end the list and start another.
205Any other start also
206ends the list.
208;item 1
209: definition 1
210;item 2
211: definition 2-1
212: definition 2-2
214# one
215# two
216#* two point one
217#* two point two
218# three
219#; three item one
220#: three def one
221# four
222#: four def one
223#: this looks like a continuation
224#: and is often used
225#: instead<br/>of <nowiki><br/></nowiki>
226# {{{template
227|author=John
228|title=My Book
229}}}
230## five sub 1
231### five sub 1 sub 1
232## five sub 2
234<ol>
235 <li>list item ''emph''
236 <ol>
237 <li>list item B1</li>
238 <li>list item B2</li>
239 </ol>continuing list item A1
240 </li>
241 <li>list item A2</li>
242</ol>
244<ol>
245#abc
246#def
247#ghi
248</ol>
250<ol start="9">
251<li>Amsterdam</li>
252<li>Rotterdam</li>
253<li>The Hague</li>
254</ol>
256== math ==
258Here is some <math>x=\frac{y^\pi}{z}</math>.
260With spaces: <math> x=\frac{y^\pi}{z} </math>.
262== preformatted blocks ==
264 Start each line with a space.
265 Text is '''preformatted''' and
266 ''markups'' '''''can''''' be done.
268 hell yeah
270 <nowiki>Start with a space in the first column,
271(before the <nowiki>).
273Then your block format will be
274 maintained.
276This is good for copying in code blocks:
278def function():
279 """documentation string"""
281 if True:
282 print True
283 else:
284 print False</nowiki>
286Not<hr/> preformatted
288Don't need
289 a blank line
290around a preformatted block.
292== templates ==
294{{Welcome}}
296{{Foo:Bar}}
298{{Thankyou|all your effort|Me}}
300Written {{{date}}} by {{{name}}}.
302== tables ==
304{|
305|-
306|Orange
307|Apple
308|-
309|Bread
310|Pie
311|-
312|Butter
313|Ice cream
314|}
316{|
317|+Food complements
318!Orange
319!Apple
320|-
321|Bread
322|Pie
323|-
324!Butter
325|Ice cream
326|}
328{|
329|+Food complements
330!Orange
331!Apple
332|-
333|Bread
335and cheese
336|Pie
338# apple
339# carrot
341|}
343{|
344| Orange || Apple || more
345|-
346| Bread || Pie || more
347|-
348| Butter || Ice cream || and more
349|}
351{|width=50%
352! align="left" width="50%"| Left
353! align="right"|Right
354! align="center"|Center
355|-
356| left || 15.00 || centered
357|-
358| more || 2.0 || more
359|}
361{|
362|-
363|Orange
364|Apple
365|-
366|Bread
368{|
369!fruit
370!topping
371|-
372|apple
373|ice cream
374|}
375|-
376|Butter
377|Ice cream
378|}
380{|
381|Orange
382|}Paragraph after the table.
384{|
385 !fruit
386 !topping
387 |-
388 |apple
389 |ice cream
390 |}
392== notes ==
394My note!<ref>This.</ref>
396URL note.<ref>http://docs.python.org/library/functions.html#range</ref>