4 ms·
For generating ASCII/Unicode tables I recommend https://ozh.github.io/ascii-tables/ https://ozh.github.io/ascii-tables/ , especially the Unicode (single line) s
by MaxBarraclough 3y ago
For generating ASCII/Unicode tables I recommend https://ozh.github.io/ascii-tables/ https://ozh.github.io/ascii-tables/ , especially the Unicode (single line) style.
┌──────┬───────────────┬───────────┐
│ It's │ occasionally │ useful │
├──────┼───────────────┼───────────┤
│ for │ HackerNews │ comments │
└──────┴───────────────┴───────────┘
- uxp8u61q 3y agoThis looks like garbage on narrow screens (mobile).
- MaxBarraclough 3y agoYes, and if you're able to use HTML tables then you should. HackerNews implements a particularly spartan flavour of MarkDown, so the 'ASCII art' approach is the only one available here. This is similar to how pre-wrapped text often looks terrible on mobile. This is an issue with plaintext email, for instance. [0] [0] https://lists.sr.ht/~sircmpwn/public-inbox/%3C87wo85l3c5.fsf%40codesections.com%3E#%3CC0YUOHDLK3SC.3UEFZ7BYJT714@homura%3E https://lists.sr.ht/~sircmpwn/public-inbox/%3C87wo85l3c5.fsf...