instiki/vendor/plugins/maruku/spec/block_docs/extra_table1.md
Jacques Distler 13a522525c REXML is dead. Long live Nokogiri.
Modify Maruku to use Nokogiri instead of REXML.
Produces a 3-fold speedup in the #to_html method.
2011-08-11 20:36:44 -05:00

1.2 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