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

1.6 KiB

Write a comment abouth the test here. *** Parameters: *** {:css=>"style.css"} *** Markdown input: *** CSS: style.css

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

*** Output of inspect *** md_el(:document,[ md_el(:table,[ md_el(:head_cell,["First Header"],{},[]), md_el(:head_cell,["Second Header"],{},[]), md_el(:cell,["Content Cell"],{},[]), md_el(:cell,["Content Cell"],{},[]), md_el(:cell,["Content Cell"],{},[]), md_el(:cell,["Content Cell"],{},[]) ],{:align=>[:left, :left]},[]) ],{},[]) *** Output of to_html ***

First HeaderSecond Header
Content CellContent Cell
Content CellContent Cell
*** Output of to_latex *** \begin{tabular}{l|l} First Header&Second Header\\ \hline Content Cell&Content Cell\\ Content Cell&Content Cell\\ \end{tabular} *** Output of to_md *** First HeaderSecond HeaderContent CellContent CellContent CellContent Cell *** Output of to_s *** First HeaderSecond HeaderContent CellContent CellContent CellContent Cell *** EOF ***
OK!

*** Output of Markdown.pl ***

CSS: style.css

First Header | Second Header ------------- | ------------- Content Cell | Content Cell Content Cell | Content Cell

*** Output of Markdown.pl (parsed) *** Error: #<NoMethodError: private method `write_children' called for

... </>:REXML::Element>