instiki/vendor/plugins/maruku/tests/unittest/images2.md
Jacques Distler 4586614914 Misc Cleanup
Cleaned up some dependencies, and added a mime_types.yml file for Mongrel-compatibility.
2008-01-14 14:46:38 -06:00

51 lines
968 B
Markdown

Write a comment here
*** Parameters: ***
{} # params
*** Markdown input: ***
This is an ![image][].
This is an ![image].
[image]: image.jpg
*** Output of inspect ***
md_el(:document,[
md_par(["This is an ", md_image(["image"], "image"), "."]),
md_par(["This is an ", md_image(["image"], "image"), "."]),
md_ref_def("image", "image.jpg", {:title=>nil})
],{},[])
*** Output of to_html ***
<p>This is an <img src='image.jpg' alt='image' />.</p>
<p>This is an <img src='image.jpg' alt='image' />.</p>
*** Output of to_latex ***
This is an .
This is an .
*** Output of to_md ***
This is an image.
This is an image.
*** Output of to_s ***
This is an image.This is an image.
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>This is an <img src="image.jpg" alt="image" />.</p>
<p>This is an ![image].</p>
*** Output of Markdown.pl (parsed) ***
<div
><p>This is an <img src='image.jpg' alt='image'
/>.</p
><p>This is an ![image].</p
></div
>