← Back to context

Comment by duskdozer

2 days ago

It can, the gripe that I don't have a good solution for is what happens when entry 3 is a 7-letter name?

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.

  • 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.

    • 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.

IntelliJ repads the tables automatically when cells get bigger. I think you can even resize using the mouse!

Honestly, updating tables in markdown has been my most successful use of AI :)