2008-01-08 07:01:35 +01:00
Write a comment abouth the test here.
*** Parameters: ** *
{:css=>"style.css"}
*** Markdown input: ** *
CSS: style.css
Input:
2011-08-13 10:59:40 +02:00
< em > Emphasis< / em >
2008-01-08 07:01:35 +01:00
Result: < em > Emphasis< / em >
Input:
2011-08-13 10:59:40 +02:00
< img src = "http://jigsaw.w3.org/css-validator/images/vcss" / >
2008-01-08 07:01:35 +01:00
Result on span: < img src = "http://jigsaw.w3.org/css-validator/images/vcss" / >
Result alone:
< img src = "http://jigsaw.w3.org/css-validator/images/vcss" / >
Without closing:
< img src = "http://jigsaw.w3.org/css-validator/images/vcss" >
< div markdown = "1" >
2011-08-13 10:59:40 +02:00
This is *true* markdown text (paragraph)
< p markdown = "1" >
This is *true* markdown text (no paragraph)
< / p >
< p markdown = "block" >
This is *true* markdown text (block paragraph)
< / p >
2008-01-08 07:01:35 +01:00
< / div >
< table >
< tr >
2009-05-13 08:27:39 +02:00
< td markdown = "1" > This is a *true* markdown text. (no par)</ td >
2008-01-08 07:01:35 +01:00
< td markdown = "block" > This is *true* markdown text. (par)</ td >
< / tr >
< / table >
*** Output of inspect ** *
md_el(:document,[
md_par(["Input:"]),
md_el(:code,[],{:raw_code=>"< em > Emphasis< / em > "},[]),
md_par(["Result: ", md_html("< em > Emphasis< / em > ")]),
md_par(["Input:"]),
md_el(:code,[],{:raw_code=>"< img src = \"http://jigsaw.w3.org/css-validator/images/vcss \"/ > "},[]),
md_par([
"Result on span: ",
md_html("< img src = \"http://jigsaw.w3.org/css-validator/images/vcss \" /> ")
]),
md_par(["Result alone:"]),
md_html("< img src = \"http://jigsaw.w3.org/css-validator/images/vcss \" /> "),
md_par(["Without closing:"]),
md_html("< img src = \"http://jigsaw.w3.org/css-validator/images/vcss \" /> "),
2011-08-14 09:16:15 +02:00
md_html("< div markdown = \"1 \"> \n This is *true* markdown text (paragraph)\n\n < p markdown = \"1 \"> \n This is *true* markdown text (no paragraph)\n </ p > \n < p markdown = \"block \"> \n This is *true* markdown text (block paragraph)\n </ p > \n</ div > "),
2009-05-13 08:27:39 +02:00
md_html("< table > \n< tr > \n< td markdown = \"1 \"> This is a *true* markdown text. (no par)</ td > \n< td markdown = \"block \"> This is *true* markdown text. (par)</ td > \n</ tr > \n</ table > ")
2008-01-08 07:01:35 +01:00
],{},[])
*** Output of to_html ** *
< p > Input:< / p >
< pre > < code > < em> Emphasis< /em> < / code > < / pre >
< p > Result: < em > Emphasis< / em > < / p >
< p > Input:< / p >
2011-08-12 03:36:44 +02:00
< pre > < code > < img src="http://jigsaw.w3.org/css-validator/images/vcss"/> < / code > < / pre >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Result on span: < img src = "http://jigsaw.w3.org/css-validator/images/vcss" / > < / p >
2008-01-08 07:01:35 +01:00
< p > Result alone:< / p >
2011-08-12 03:36:44 +02:00
< img src = "http://jigsaw.w3.org/css-validator/images/vcss" / >
2008-01-08 07:01:35 +01:00
< p > Without closing:< / p >
2011-08-13 10:59:40 +02:00
< img src = "http://jigsaw.w3.org/css-validator/images/vcss" / > < div >
2008-01-08 07:01:35 +01:00
< p >
< p > This is< / p >
< em >
< p > true< / p >
< / em >
< p > markdown text (paragraph)< / p >
< / p >
< p >
< p >
< p > This is< / p >
< em >
< p > true< / p >
< / em >
< p > markdown text (no paragraph)< / p >
< / p >
< / p >
2011-08-13 10:59:40 +02:00
< p >
2008-01-08 07:01:35 +01:00
< p >
< p > This is< / p >
< em >
< p > true< / p >
< / em >
< p > markdown text (block paragraph)< / p >
< / p >
< / p >
< / div > < table >
< tr >
2011-08-13 10:59:40 +02:00
< td >
< p > This is a< / p >
< em >
< p > true< / p >
< / em >
< p > markdown text. (no par)< / p >
< / td >
< td >
< p > This is< / p >
< em >
< p > true< / p >
< / em >
< p > markdown text. (par)< / p >
< / td >
2008-01-08 07:01:35 +01:00
< / tr >
< / table >
*** Output of to_latex ** *
Input:
\begin{verbatim}< em > Emphasis</ em > \end{verbatim}
Result:
Input:
\begin{verbatim}< img src = "http://jigsaw.w3.org/css-validator/images/vcss" /> \end{verbatim}
Result on span:
Result alone:
Without closing:
*** Output of to_md ** *
Input:
Result:
Input:
Result on span:
Result alone:
Without closing:
*** Output of to_s ** *
2009-05-13 08:27:39 +02:00
Input:Result: Input:Result on span: Result alone:Without closing: