pandoc/tests/mediawiki-reader.wiki

147 lines
1.6 KiB
Text
Raw Normal View History

= 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'''''
'''''emph inside'' strong'''
'''strong with ''emph'''''
'''''strong inside''' emph''
== horizontal rule ==
top
----
bottom
----
== nowiki ==
<nowiki>''not emph''</nowiki>
== strikeout ==
<strike> This is ''struck out''</strike>
== 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
2012-09-12 19:15:34 -07:00
== : indents ==
hi
: there
bud
hi
:: there
bud
== p tags ==
hi there
<p>
bud
<p>
another
</p>
== raw html ==
hi <span style="color:red">''there''</span>.
2012-09-12 19:35:06 -07:00
<ins>inserted</ins>
2012-09-12 19:15:34 -07:00
<div class="special">
hi ''there''
</div>
2012-09-12 19:35:06 -07:00
== sup, sub, del ==
H<sub>2</sub>O
base<sup>''exponent''</sup>
<del>hello</del>
== inline code ==
<code>*&rarr;*</code> <tt>typed</tt> <hask>&gt;&gt;=</hask>
== code blocks ==
<pre>
case xs of
(_:_) -> reverse xs
[] -> ['*']
</pre>
<haskell>
case xs of
(_:_) -> reverse xs
[] -> ['*']
</haskell>
<syntaxhighlight lang="ruby" line start=100>
widgets.each do |w|
print w.price
end
</syntaxhighlight>
== block quotes ==
Regular paragraph
<blockquote>
This is a block quote.
With two paragraphs.
</blockquote>
Nother paragraph.
== external links ==
[http://google.com ''Google'' search engine]
http://johnmacfarlane.net/pandoc/
2012-09-12 19:15:34 -07:00