diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mediawiki-reader.native | 5 | ||||
-rw-r--r-- | tests/mediawiki-reader.wiki | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/mediawiki-reader.native b/tests/mediawiki-reader.native index 2a573af9c..2e8c9fdec 100644 --- a/tests/mediawiki-reader.native +++ b/tests/mediawiki-reader.native @@ -82,6 +82,11 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) ,Para [Link [Str "Contents"] ("Help:Contents","wikilink")] ,Para [Link [Str "#My",Space,Str "anchor"] ("#My_anchor","wikilink")] ,Para [Link [Str "and",Space,Str "text"] ("Page#with_anchor","wikilink")] +,Header 2 [Str "images"] +,Para [Image [Str "caption"] ("example.jpg","image")] +,Para [Image [Str "the",Space,Emph [Str "caption"],Space,Str "with",Space,Link [Str "external",Space,Str "link"] ("http://google.com","")] ("example.jpg","image")] +,Para [Image [Str "caption"] ("example.jpg","image")] +,Para [Image [Str "example.jpg"] ("example.jpg","image")] ,Header 2 [Str "lists"] ,BulletList [[Plain [Str "Start",Space,Str "each",Space,Str "line"]] diff --git a/tests/mediawiki-reader.wiki b/tests/mediawiki-reader.wiki index 12393f110..50b315d71 100644 --- a/tests/mediawiki-reader.wiki +++ b/tests/mediawiki-reader.wiki @@ -163,6 +163,16 @@ http://johnmacfarlane.net/pandoc/ [[Page#with anchor|and text]] +== images == + +[[File:example.jpg|caption]] + +[[File:example.jpg|border|the ''caption'' with [http://google.com external link]]] + +[[File:example.jpg|frameless|border|30x40px|caption]] + +[[File:example.jpg]] + == lists == * Start each line |