go-org-orgwiki/org/testdata/tables.org
Niklas Fasching ec895cbe83 Fix headline tags, table pretty printing and multiline links
- we can't just look at the len of the string (~ #bytes) - that breaks down for
  tables containing characters consisting of multiple bytes. This handles
  more (still not all) cases and is good enough for now
- add _ to allowed tag chars - also require space between headline and tags
- links (link itself, not the description) spanning multiple lines are not
  supported - otherwise we would have to take care of splitting link and adding
  indentation for org pretty printing - and that sounds like such an edge case
  that it seems cleaner to forbid them
2018-12-19 13:15:31 +01:00

1.1 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 columns
long column a long column b long column c
1 2 3
table with right aligned columns (because numbers)