leonhma / obsidian-functionplot

A obsidian.md plugin for rendering maths graphs.
MIT License
212 stars 9 forks source link

Plot placement settings #141

Open Caellian opened 10 months ago

Caellian commented 10 months ago

What's your feature?

Allow configuring vertical plot size and horizontal alignment for plots. They'd look much nicer if they were either centered or filled the horizontal space so there's no gap on the right.

corani commented 6 months ago

+1 for centering

corani commented 6 months ago

As a workaround I've added a CSS snippet that seems to do the trick:

.block-language-functionplot {
    text-align: center;
}
Caellian commented 6 months ago

I've switched to LaTeX and Typst for writing lecture notes (which is what I needed this plugin for). Thanks for the suggestion though.