Better table handling in new Live Preview mode

I haven’t see this surfaced yet, so here goes…

Use case or problem

Markdown tables are quite hard to read in the new Live Preview editing mode. Previously, CodeMirror Options and/or Advanced Tables mitigated the issue by padding cells with enough spaces that all the cells aligned vertically. This is no longer possible with the new Live Preview editor.

Proposed solution

Pad table cells on-the-fly in Edit mode with enough spaces that all table cells are aligned vertically.

Bonus features:

  • Parse <br> in cells to allow readable multiple lines of content.
  • Allow control of vertical alignment of cell contents (top, center, bottom).
  • Move cursor between cells when pressing Enter or Tab.
  • Add keyboard shortcuts to insert rows and columns.
  • Allow for highlighting multiple cells and applying formatting such as emphasis and bold to multiple cells at once, as in Typora.

Current workaround (optional)

None known except to stay on an earlier version of Obsidian. Neither CodeMirror Options nor Advanced Tables seem to provide this function anymore in the new Obsidian.

Example - this is really hard to work with:

1 Like

Doesn’t advanced tables plugin do this?

I hadn’t mentioned Advanced Tables at first but I just updated my post. Both plugins did this; but they don’t work for me in the new Obsidian version.

I thought maybe it was because I had both plugins enabled so I disabled CodeMirror options and restarted Obsidian. I tried the Advanced Tables command to “Apply formatting to all tables in this file” and while that did result in some spaces being added, the effect was not ideal. And also, the plugin no longer pads cells on the fly.

Result of “Apply formatting to all tables in this file,” for a test table:


works for me

+1, sometimes the advanced tables plugin won’t work.

So, I made a new vault and switched themes and realized in some cases the issue was the theme I was using. I was able to make some simple tables that were padded correctly by Advanced Tables.

However, Advanced Tables didn’t like that I bolded this character, I guess?:


It cannot space the first row correctly, for some reason.

It would be cool if user-friendly table management was built into Obsidian, but I’ll also go ahead and post this separately as an Advanced Tables bug.