leafwiki icon indicating copy to clipboard operation
leafwiki copied to clipboard

Basic / rudimentary Markdown Table Editor Buttons in the toolbar

Open Hoffenbar opened this issue 1 week ago • 1 comments

Is your feature request related to a problem? Please describe.

Writing and especially editing Markdown tables manually using pipes (|) and hyphens (---) is tedious and error-prone - especially once a table grows beyond a few columns or requires adding/reordering rows and columns later on. Currently, LeafWiki's editor lacks built-in UI assistance for modifying tables, or am I wrong?

Describe the solution you'd like

Implement a basic, rudimentary table editor (or table helper) directly in the editor toolbar to make working with Markdown tables much faster. Even a lightweight MVP would be a huge improvement, such as:

  1. Basic row/column actions: Simple buttons or context options when the cursor is inside a table to add/delete a row or add/delete a column without manually fixing pipes.
  2. Auto-formatting (optional): Automatically aligning column widths/pipes in the raw Markdown for better readability.
  3. A way to align or center colums

Describe alternatives you've considered

Creating tables in external tools (like online Markdown table generators) and pasting the result into LeafWiki works, but having a basic native helper directly in the editor keeps the workflow seamless.

Additional context

LeafWiki's editor and file handling are already very smooth - adding a lightweight table helper would close one of the few remaining gaps for structured documentation.

Hoffenbar avatar Nov 22 '26 22:11 Hoffenbar

@Hoffenbar You're right, a table editor would make things much easier. Editing tables directly in Markdown is a pain.

I'm currently focusing on the backend and implementing some missing functionality. Once that's done, I'll shift my focus back to the editor and frontend.

perber avatar Nov 30 '26 16:11 perber