Skip to content

feat: use box-drawing characters for table formatting#8

Open
bquenin wants to merge 2 commits intofranlol:mainfrom
bquenin:feature/box-drawing
Open

feat: use box-drawing characters for table formatting#8
bquenin wants to merge 2 commits intofranlol:mainfrom
bquenin:feature/box-drawing

Conversation

@bquenin
Copy link

@bquenin bquenin commented Feb 8, 2026

Summary

Implements box-drawing character borders for table rendering, as requested in #7.

  • Replace standard markdown pipe (|) and dash (-) table borders with Unicode box-drawing characters (┌┐└┘─│┬┴├┤┼)
  • Add buildHorizontalLine helper for constructing top, middle, and bottom borders
  • Remove formatSeparatorCell which is no longer needed with box-drawing borders

Before (standard markdown)

| Name  | Age | City     |
|-------|-----|----------|
| Alice |  30 | New York |

After (box-drawing)

┌───────┬─────┬──────────┐
│ Name  │ Age │ City     │
├───────┼─────┼──────────┤
│ Alice │  30 │ New York │
└───────┴─────┴──────────┘

Closes #7

Replace standard markdown pipe/dash table borders with Unicode
box-drawing characters (┌┐└┘─│┬┴├┤┼) for improved visual appearance.
Add buildHorizontalLine helper and remove formatSeparatorCell which
is no longer needed.
Remove accidentally committed package-lock.json (Bun project),
add it to .gitignore, and bump version to 0.1.0 for breaking change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Box-drawing character borders for table rendering

1 participant