Comment by bboe on 29/11/2011 at 18:44 UTC*

1 upvotes, 1 direct replies (showing 1)

View submission: [reddit change] New markdown interpreter!

View parent comment

Test table as described:

┌────────────────┬──────────────────┬─────────────────┐
│      some      │      header      │     labels      │
╞════════════════╪══════════════════╪═════════════════╡
│ Left-justified │ center-justified │ right-justified │
├────────────────┼──────────────────┼─────���───────────┤
│ a              │        b         │               c │
├────────────────┼──────────────────┼─────────────────┤
│ d              │        e         │               f │
└────────────────┴──────────────────┴─────────────────┘

test table without headers

┌──┬──┬──┬──┬──┬──┐
│  │  │  │  │  │  │
╞══╪══╪══╪══╪══╪══╡
└──┴──┴──┴──┴──┴──┘

The table without headers requires 2 additional '|' characters on the header line:

|||||
:-:|:-:|:-:|:-:
a|b|c|d
e|f|g|h

Replies

Comment by [deleted] at 29/11/2011 at 18:53 UTC*

1 upvotes, 1 direct replies

|One|Two|Three|Four|

There are no extra | characters there, headers simply are required to have the pipes around them in that case..since no content is given they cannot be implied.