instiki/vendor/plugins/maruku/tests/unittest/table_attributes.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

1.7 KiB

Write a comment here *** Parameters: *** {} # params *** Markdown input: ***

h h
{:t} c1 c2
{: summary="Table summary" .class1 style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em cellpadding=4px}

{:t: scope="row"} *** Output of inspect *** md_el(:document,[ md_el(:table,[ md_el(:head_cell,["h"],{},[]), md_el(:head_cell,["h"],{},[]), md_el(:cell,[" c1"],{},:ref, "t"), md_el(:cell,["c2"],{},[]) ],{:align=>[:left, :left]},"summary", "Table summary"], [:class, "class1"], ["style", "color:red"], ["border", "3"], ["width", "50%"], ["frame", "lhs"], ["rules", "cols"], ["cellspacing", "2em"], ["cellpadding", "4px"), md_el(:ald,[],{:ald=>"scope", "row",:ald_id=>"t"},[]) ],{},[]) *** Output of to_html ***

hh
c1c2
*** Output of to_latex *** \begin{tabular}{l|l} h&h\\ \hline c1&c2\\ \end{tabular} *** Output of to_md *** hh c1c2 *** Output of to_s *** hh c1c2 *** EOF ***
OK!

*** Output of Markdown.pl ***

h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1 style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em cellpadding=4px}

{:t: scope="row"}

*** Output of Markdown.pl (parsed) ***

h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1 style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em cellpadding=4px}

{:t: scope="row"}