News for hackers. Stuff that matters.
Re:How Markdown Took over the World by raincole on Friday January 09, 2026 @11:17PM (#46562696)
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.

Re:How Markdown Took over the World by trollbridge on Friday January 09, 2026 @11:21PM (#46562720)
Provided you’ve got UTF-8 (or CP437/850/1521 etc) and fixed pitch, it’s easy to make tables.
Re:How Markdown Took over the World by Linux-Fan on Saturday January 10, 2026 @04:32PM (#46570131)
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”
Re:How Markdown Took over the World by mcny on Saturday January 10, 2026 @02:01AM (#46563485)
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?
Re:How Markdown Took over the World by duskdozer on Saturday January 10, 2026 @03:19AM (#46563847)
It can, the gripe that I don't have a good solution for is what happens when entry 3 is a 7-letter name?
Re:How Markdown Took over the World by zdc1 on Saturday January 10, 2026 @03:46AM (#46563983)
Then you need to re-pad everything (clean looking git diff be damned). It's just the reality of dealing with bounding boxes. Maybe we don't notice it in HTML and such since the browser redraws them for us for free.
Re:How Markdown Took over the World by bobbylarrybobby on Saturday January 10, 2026 @11:44AM (#46567241)
A reasonable format would not insist you lay out tables visually any more than it would insist you center your headers if you'd like them horizontally centered when rendered. For instance, Asciidoctor has syntax for table cells that requires no whitespace and lets you put any content at all in a cell.
Re:How Markdown Took over the World by Groxx on Saturday January 10, 2026 @03:04PM (#46569390)
I'm not aware of any table-capable markdown renderer that requires tables to be padded correctly. It's purely a source-text-readability concern.

No doubt some janky one exists somewhere, but nobody uses that.

Re:How Markdown Took over the World by akshitgaur2005 on Saturday January 10, 2026 @04:06AM (#46564081)
you switch to org!
Re:How Markdown Took over the World by eastbound on Saturday January 10, 2026 @07:53AM (#46565293)
IntelliJ repads the tables automatically when cells get bigger. I think you can even resize using the mouse!
Re:How Markdown Took over the World by rconti on Saturday January 10, 2026 @12:01PM (#46567456)
Honestly, updating tables in markdown has been my most successful use of AI :)
Re:How Markdown Took over the World by huimang on Saturday January 10, 2026 @07:22PM (#46571414)
With LSP and Marksman [0], those tables get formatted automatically on save for me.

https://github.com/artempyanykh/marksman