csv-to-table
csv-to-table copied to clipboard
Use box-drawing characters
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 │
┴───────────────────┴───────────┴──────────────┴────────────────┴────────────────┴