-
Notifications
You must be signed in to change notification settings - Fork 104
Description
When editing tables, it can be nice to have the editor automatically add padding to make the columns line up. The following implements this behaviour in a way that works flawlessly, without being intrusive or diverging from vanilla markdown:
https://github.com/susisu/mte-kernel?tab=readme-ov-file
TLDR, you can start a table by typing |
and then typing the first column title, then press Tab
, Shift-Tab
, Return
, and Shift-Return
to move focus around the table, and it automatically creates new rows and columns, and adds or removes padding. The table manipulation only happens when you press certain keys to navigate the table, not in real time while you're typing. There's also no UI, so it doesn't add any clutter.
Back when I used Obsidian, I used a plugin that implemented this kernel, and it was a complete game changer. Is this the kind of thing you would consider adopting?