Hacker News new | past | comments | ask | show | jobs | submit login

For generating ASCII/Unicode tables I recommend https://ozh.github.io/ascii-tables/ , especially the Unicode (single line) style.

    ┌──────┬───────────────┬───────────┐
    │ It's │  occasionally │   useful  │
    ├──────┼───────────────┼───────────┤
    │ for  │  HackerNews   │  comments │
    └──────┴───────────────┴───────────┘



This looks like garbage on narrow screens (mobile).


Yes, 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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: