csv-to-table icon indicating copy to clipboard operation
csv-to-table copied to clipboard

Use box-drawing characters

Open mxdvl opened this issue 6 months ago • 0 comments

For a prettier output when not using Markdown – my colleague @pierre-charles shared this extension in our team chat and I thought it would look nicer this way. It does not handle either side of the table, nor its corners.


Before

|-------------------|-----------|--------------|----------------|----------------|
| Geography level   | Geography | Geography ID | Bed count/type | Month starting |
|-------------------|-----------|--------------|----------------|----------------|
| postcode_area     | SE        | SE           | 2-bed-house    |     2025-02-01 |
|-------------------|-----------|--------------|----------------|----------------|
| postcode_area     | SE        | SE           | 2-bed-house    |     2025-02-01 |
|-------------------|-----------|--------------|----------------|----------------|
| postcode_area     | SE        | SE           | 2-bed-house    |     2025-02-01 |
|-------------------|-----------|--------------|----------------|----------------|
| postcode_area     | SE        | SE           | 2-bed-house    |     2025-02-01 |
|-------------------|-----------|--------------|----------------|----------------|

After

┬───────────────────┬───────────┬──────────────┬────────────────┬────────────────┬
│ Geography level   │ Geography │ Geography ID │ Bed count/type │ Month starting │
┼───────────────────┼───────────┼──────────────┼────────────────┼────────────────┼
│ postcode_area     │ SE        │ SE           │ 2-bed-house    │     2025-02-01 │
┼───────────────────┼───────────┼──────────────┼────────────────┼────────────────┼
│ postcode_area     │ SE        │ SE           │ 2-bed-house    │     2025-02-01 │
┼───────────────────┼───────────┼──────────────┼────────────────┼────────────────┼
│ postcode_area     │ SE        │ SE           │ 2-bed-house    │     2025-02-01 │
┼───────────────────┼───────────┼──────────────┼────────────────┼────────────────┼
│ postcode_area     │ SE        │ SE           │ 2-bed-house    │     2025-02-01 │
┴───────────────────┴───────────┴──────────────┴────────────────┴────────────────┴

mxdvl avatar Jun 20 '25 08:06 mxdvl