mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #369] [CLOSED] feat: add automatic markdown table alignment #488
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#488
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/369
Author: @remorses
Created: 11/30/2025
Status: ❌ Closed
Base:
main← Head:format-table📝 Commits (7)
aa2a84efeat: add automatic markdown table alignment using tree-sitter AST505f327Merge branch 'main' into format-tablea5614d1format: run prettierf5ff1a5refactor table formatting to use tree-sitter AST for cell parsing1321535fix: trim trailing whitespace from each line in test snapshotsf5c7f0fformat: run prettier37d4071fix: increase async highlighting timeout for CI📊 Changes
7 files changed (+1201 additions, -24 deletions)
View changed files
📝
packages/core/src/lib/tree-sitter/client.test.ts(+232 -0)📝
packages/core/src/lib/tree-sitter/client.ts(+16 -3)📝
packages/core/src/lib/tree-sitter/parser.worker.ts(+287 -5)➕
packages/core/src/lib/tree-sitter/table-formatting.test.ts(+462 -0)📝
packages/core/src/renderables/Code.ts(+6 -3)📝
packages/core/src/testing/mock-tree-sitter-client.ts(+13 -13)➕
packages/react/examples/markdown-table.tsx(+185 -0)📄 Description
Automatically formats markdown tables by padding columns to align content when rendering. Using tree sitter AST
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.