File: extra_table1.md

package info (click to toggle)
ruby-maruku 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,296 kB
  • ctags: 492
  • sloc: ruby: 5,726; xml: 235; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 1,270 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 ***
<table><thead><tr><th>First Header</th><th>Second Header</th></tr></thead><tbody><tr><td style="text-align: left;">Content Cell</td><td style="text-align: left;">Content Cell</td></tr>
<tr><td style="text-align: left;">Content Cell</td><td style="text-align: left;">Content Cell</td></tr>
</tbody></table>
*** 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