← Back to context

Comment by raincole

1 day ago

It's fundamentally ok-ishly looking text.

I think that is the biggest reason why Markdown doesn't support table. There are alternatives that do (e.g. wikitext) but they didn't get as popular as Markdown. Why? Perhaps it's because that tables will never really look fine in pure text no matter how clever your syntax is.

Provided you’ve got UTF-8 (or CP437/850/1521 etc) and fixed pitch, it’s easy to make tables.

  • I don't think that is sufficient for the general case because I would like to be able to use the markdown like _emphasis_ or [hyperlinks](https://www.example.com) even inside the table rows and this doesn't render properly when using fixed pitch “tables as source code blocks”

Sorry but I don't understand

Isn't this a table?

    |sn|name|
    |--|--|
    |1|George|
    |2|John|

I feel like I've been doing this at least since about 2013?

Edit: I get it now. It was not a part of the original spec.

    |sn|name  |
    |--|------|
    | 1|George|
    | 2|John  |

It can look better if we use fixed width font and add padding I guess?