Making wide Markdown tables editable in Notepad++
说明与用途
Markdown Table Editor 插件简化了 Notepad++ 中宽 Markdown 表格的编辑,自动处理对齐、转义管道、Unicode 以及可逆的宽度适配。
问题
Editing wide Markdown tables in plain text editors is tedious; manual edits often break alignment, escape characters, and Unicode handling, especially for tables pasted from CSV/TSV or generated output.
结果
The plugin streamlines table editing in Notepad++, reducing manual formatting effort, preserving alignment markers, correctly handling escaped pipes and Unicode, and enabling reversible fitting of wide tables.
工作流
- Open a Markdown file in Notepad++
- Place the caret inside a Markdown table
- Open Plugins > Markdown Table Editor
- Choose an operation: align, move cells, sort, convert CSV/TSV, or fit table
- If fitting, the plugin rewrites long cells into continuation rows within the visible width
- When the editor width changes, the plugin can rejoin continuation rows back into the original table
证据
The plugin can: align a table once or keep it aligned after edits; move between cells and insert, delete, or reorder rows and columns; sort body rows by the current column; convert the selected CSV/TSV text, or the CSV/TSV block around the caret, into a Markdown table; fit a wide table to the visible editor width.
The width algorithm has to balance several constraints: ... Wrap cell contents at word boundaries and split a long token only when it cannot fit any other way.
- 记录日期: 2026-09-22T19:30:39.193Z