-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Well, you've probably saved me from writing a plugin 😂 so here's a feature request I had on my list. My main inspiration for an Obsidian math plugin comes from Calca, a Markdown-based text editor with calculation support. As opposed to a Soulver-esque line-by-line result tally, Calca adds a =>
line suffix that causes the result at that line to be emitted. Otherwise results aren't printed.
Have a look at the Calca link above; the homepage illustrates the output format nicely. In addition, a quick example:
```math
length = 40mm
width = 20mm
area = length * width => 800mm^2
```
The result 800mm^2
would be emitted by the plugin (in Live Preview / Reading mode, obvs), triggered by the =>
result annotation.
In practice, this may want a different tag than math
to distinguish the syntax, such as mathc
or somesuch.
My plan had been to support both line-by-line and Calca-style output systems. Both can be really helpful in different scenarios. Calca's support is great to highlight key results without a lot of intermediate noise.