Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow tables to be detected properly when inside of obsidian callouts #269

Closed
wants to merge 1 commit into from

Conversation

JU12000
Copy link

@JU12000 JU12000 commented Jun 27, 2023

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.

…not work and will need to be fixed in the upstream @tgrosinger/md-advance-tables repo.
@JU12000
Copy link
Author

JU12000 commented Jun 27, 2023

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.

@HoCoK31
Copy link

HoCoK31 commented Oct 6, 2023

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

@JU12000 JU12000 closed this Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants