Indented tables are rendered "one column off"

Tables which are indented within a list item are rendered with an extra empty column on the left, and the right-most column not shown.

Steps to reproduce

  • Set up Obsidian with two linked panes, one in editing view, the other in reading view.
  • Create a new note.
  • In editing view, add a list with an item having a table.

Did you follow the troubleshooting guide? [Y/N]

Yes. Reproduced this in the sandbox vault.

Expected result

Indented table’s contents match the contents of the source.

Actual result

Indented table’s contents are “shifted right”, i.e. the first column is empty, the second column contains the data from the first column, the third column contains the data from the second column, etc… and the data from the last column is not shown at all.

Environment

SYSTEM INFO:
	Obsidian version: v1.6.7
	Installer version: v1.4.14
	Operating system: Darwin Kernel Version 23.5.0: Wed May  1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64 23.5.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

There is a a bug here but it’s not what you think.

https://forum.obsidian.md/t/indented-tables-should-not-be-detected-as-tables-in-reading-mode/86111

I see this has been moved to “Bug graveyard”.

Does this mean that somebody has decided that this bug isn’t going to be fixed?

Sorry my reply to your post was deleted by mistake. See above.

That illustrates what appears to be the same bug, but it doesn’t explain what you mean by “it’s not what you think”.

What I think is what I see, i.e. that the table is being rendered with an extra empty column on the left, and with the right-most column missing.

Is there something else going on that I’m not seeing?

My point was that the piece of text should not have been interpreted as table at all.

It sounds like you’re saying that Markdown isn’t supposed to support tables within list elements (or otherwise indented), and it’s just a happy accident that every other Markdown interpreter I’ve used for the past several years, including Github, does support them.

Or is this something that will be supported in the future, and you guys just haven’t gotten to it yet? (I’m assuming that “Obsidian Team” on your profile means you’re one of the devs.)

Either way, thanks for taking the time to explain. Like I said before, it’s entirely possible that I’m missing something obvious - it is late afternoon on a Friday after all … :joy: