go-org-orgwiki/org/testdata/tables.org
Niklas Fasching e076412b29 html: Implement fat table rows (use tbodies to represent separators)
html does not support table separator rows as Org mode does. Emacs org export
simulates rows as defined by separators by wrapping all the rows between 2
separators into a separate tbody. The html spec is fine with that [0] so we
follow.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
2020-06-26 20:11:14 +02:00

1.3 KiB
Raw Blame History

a b c
1 2 3
table with separator before and after header
a b c
1 2 3
table with separator after header
Character Org Rendered HTML
Hyphen a - b a - b
Ndash a -- b a b
Mdash a --- b a — b
Ellipsis a ... b a … b
table with unicode characters
1 2 3
table without header (but separator before)
1 2 3
table without header
left aligned right aligned center aligned
42 42 42
foobar foobar foobar
table with aligned and sized columns
long column a long column b long column c
1 2 3
table with right aligned columns (because numbers)
a b c
1 2 3
. . .
1 2 3
1 2 3
table with multiple separators (~ multiple tbodies)