instiki/vendor/plugins/maruku/tests/unittest/bug_table.md
Jacques Distler 38ae064b8a Bundle Latest REXML
Sam Ruby has been doing a bang-up job fixing the bugs in REXML.
Who knows when these improvements will trickle down to vendor distributions of Ruby.
In the meantime, let's bundle the latest version of REXML with Instiki.
We check the version number of the bundled REXML against that of the System REXML, and use whichever is later.
2008-01-11 23:53:29 -06:00

1.7 KiB

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

hello {: summary="Table summary" .class1 style="color:red"}

h h
{:t} c1 c2
{: summary="Table summary" .class1 style="color:red"}

{:t: scope="row"} *** Output of inspect *** md_el(:document,[ md_par(["hello"], "summary", "Table summary"], [:class, "class1"], ["style", "color:red"), 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"), md_el(:ald,[],{:ald=>"scope", "row",:ald_id=>"t"},[]) ],{},[]) *** Output of to_html ***

hello

hh
c1c2
*** Output of to_latex *** hello

\begin{tabular}{l|l} h&h\ \hline c1&c2\ \end{tabular} *** Output of to_md *** hello

hh c1c2 *** Output of to_s *** hellohh c1c2 *** EOF ***

OK!

*** Output of Markdown.pl ***

hello {: summary="Table summary" .class1 style="color:red"}

h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1 style="color:red"}

{:t: scope="row"}

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

hello {: summary="Table summary" .class1 style="color:red"}

h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1 style="color:red"}

{:t: scope="row"}