obsidian-calc
obsidian-calc copied to clipboard
Migrate the Plugin to ESBuild and add Inline Widgets for all expressions
Now if something can be calculated it will be added as a inline Widget:
The results are not part of the document, they just look like it.
Hi @phibr0, thanks for the contribution. I like it.
I'm interested to hear your take on ESBuild vs Rollup. Is it just preference, or does ESBuild add lots of value? (I haven't kept up to date with js bundlers)
I think the inline widget should be able to be toggled via a plugin setting.
Before removing the markers may be it should check if the '.meld-calc-result' class is present first? (in case something else is adding markers to that line)
Overall I think it would be quite useful have the answers show up like that.
I know that ESBuild is very fast compared to Rollup and ESBuild is now the default bundler for the obsidian sample plugin.