Skip to content

Feature request: Calca-style result annotations #4

@jwhitley

Description

@jwhitley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestreleaseCompleted. Will be in next release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions