gtg922r / obsidian-numerals

An obsidian plugin which turns a math code block into a full featured calculator
Other
389 stars 7 forks source link

Formatting issue in output during errors #66

Closed therohk closed 6 months ago

therohk commented 7 months ago

There is a bug in the formatting of an output block when math.eval results in an error.

The code linked here references a css class that is not present in styles.css This causes the error line to be misaligned in all layout modes.

Here is small fix that resolves this issue: https://github.com/gtg922r/obsidian-numerals/pull/65

Thanks for building this indispensable plugin!

gtg922r commented 6 months ago

@therohk Good catch! thanks for the PR. I'm not seeing a difference in the rendered result though. Can you share a screenshot of the difference by chance?

gtg922r commented 6 months ago

Whoops, that was my bad. Just needed to refresh the block. I see it now

gtg922r commented 6 months ago

Fixed now. Thanks again