instiki/vendor/plugins/maruku/tests/unittest/easy.md
Jacques Distler 1085168bbf Update to latest HTML5lib, Add Maruku testdir
Sync with the latest html5lib.
Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
2008-01-08 00:01:35 -06:00

29 lines
687 B
Markdown

Simple test for emphasis.
*** Parameters: ***
{}
*** Markdown input: ***
*Hello!* how are **you**?
*** Output of inspect ***
md_el(:document,[md_par([md_em(["Hello!"]), " how are ", md_strong(["you"]), "?"])],{},[])
*** Output of to_html ***
<p><em>Hello!</em> how are <strong>you</strong>?</p>
*** Output of to_latex ***
\emph{Hello!} how are \textbf{you}?
*** Output of to_md ***
Hello!how are you?
*** Output of to_s ***
Hello! how are you?
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p><em>Hello!</em> how are <strong>you</strong>?</p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>