Proze Wrap : Markdown Table Auto-Formatting Based on Content Width #1183
tlibouban
started this conversation in
Questions or requests about Poznote
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi Tim, Hi @everyone,
Markdown Table Auto-Formatting Based on Content Width
Context
Currently, Markdown tables in Poznote are not automatically formatted according to the width of their content. As a result, columns may appear uneven or compressed, making tables harder to read and edit in raw Markdown.
Many Markdown-aware editors and formatting tools improve readability by automatically aligning table columns based on the longest cell in each column. This behavior significantly enhances the editing experience without altering the rendered output.
A formatting option similar to the following could be leveraged to support this behavior:
{ "printWidth": 100, "proseWrap": "never" }Requested Enhancement
Introduce automatic formatting of Markdown tables so that column widths are adjusted to fit their content when a table is created, edited, or formatted.
Ideally, this behavior could rely on an existing open-source Markdown formatter rather than requiring a custom implementation, ensuring maintainability while aligning Poznote with established Markdown tooling.
Expected Benefits
Enhancement Request: Automatically format Markdown tables by adjusting column widths to match their content, ideally by leveraging an existing open-source Markdown formatting library to improve readability and editing efficiency.
Today in Poznote :

Tomorrow in Poznote :

What do you think about that ?
All reactions