advanced-tables-obsidian icon indicating copy to clipboard operation
advanced-tables-obsidian copied to clipboard

Allow tables to be detected properly when inside of obsidian callouts

Open JU12000 opened this issue 1 year ago • 2 comments

Simply adds the > to the leftMarginChars by default. This allows md-advance-tables to detect tables inside of Obsidian callouts. Formatting of these kinds of tables is still broken and will need to be fixed in the upstream @tgrosinger/md-advance-tables repo.

Tested in a vault with non-trivial (~50 files with callout-enclosed tables) usage and noticed no adverse affects.

Please advise if any additional work or testing is required, thanks for your consideration.

JU12000 avatar Jun 27 '23 06:06 JU12000

Just realized as I was digging into it more that the tables do actually format properly. I had believed that they weren't because Obsidian doesn't use monospace font for tables when enclosed in a callout.

That will need to be a fix at the obsidian level, which means this is actually functioning as intended.

JU12000 avatar Jun 27 '23 16:06 JU12000

With monospaced font works great, would be nice to see as an optional in settings

HoCoK31 avatar Oct 06 '23 09:10 HoCoK31