A Zed extension that formats markdown tables with properly aligned columns.
Install from the Zed extension marketplace by searching for "tablefmt" or "Markdown Table Formatter".
- Select a markdown table in your document
- Run Editor: Format Selection (or use the keyboard shortcut)
- The table will be formatted with aligned columns
Before:
| Name | Age | City |
|---|---|---|
| Alice | 30 | New York |
| Bob | 25 | Los Angeles |After:
| Name | Age | City |
|-------|-----|-------------|
| Alice | 30 | New York |
| Bob | 25 | Los Angeles |- Aligns all columns based on the widest cell in each column
- Properly formats separator rows with appropriate dash widths
- Works with any valid markdown table format
- Rust (via rustup)
The required WASM target will be installed automatically via rust-toolchain.toml.
cargo build --release --target wasm32-wasip1cd lsp
cargo build --releaseMIT License - see LICENSE for details.