Note Calc

by Sunny Yu
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

2
stars
572
downloads
0
forks
87
days
62
days
62
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
5
commits

Latest Version

2 months ago

Changelog

What’s Changed

New Features

  • Added support for formulas after leading text.
    • Example: Stop Loss: 208.65 - 1.9874 * 1.5 = now shows 205.67 with the default decimal setting.
  • Added a decimal places setting.
    • Default: 2 decimal places.
    • Options: 0, 1, 2, 3, 4.

Improvements

  • Live Preview and Reading view now use the same decimal formatting setting.
  • Formula detection now evaluates the final arithmetic expression before =, so regular text before the formula is preserved.
  • Multiplication operators inside formulas continue to render correctly in Live Preview.

Documentation

  • Updated README.md with inline formula examples and decimal place settings.
  • Added TECHNICAL_DOCUMENTATION.md describing the plugin architecture, parser, rendering behavior, settings, and release workflow.

Assets

This release includes the required Obsidian plugin files:

  • main.js
  • manifest.json
  • styles.css

Full Changelog: https://github.com/q7jxb7yxdk-star/Note-Calc/compare/1.0.1...1.1.1

README file from

Github

Note Calc

Note Calc brings Apple Notes-style inline calculations to Obsidian. Write an arithmetic expression ending in = and the result appears in Live Preview and Reading view without changing the Markdown source.

Usage

Enter an expression ending in =:

Markdown source Live Preview / Reading view
2*3= 2*3=6.00
2 * 3 = 2 * 3 = 6.00
2+3*4= 2+3*4=14.00
(2+3)×4= (2+3)×4=20.00
Stop Loss: 208.65 - 1.9874 * 1.5 = Stop Loss: 208.65 - 1.9874 * 1.5 = 205.67

Note Calc evaluates only lines that end with =. If an answer is already present, such as 2*3=6, the line is left unchanged.

Calculations are visual only. Note Calc never writes the generated answer into your note.

Settings

Note Calc shows results with two decimal places by default. You can change this from Settings → Community plugins → Note Calc.

Available decimal place options:

  • 0
  • 1
  • 2
  • 3
  • 4

Supported syntax

  • Addition: +
  • Subtraction: - and
  • Multiplication: * and ×
  • Division: / and ÷
  • Remainder: %
  • Exponents: ^
  • Parentheses
  • Decimal numbers and scientific notation

Standard arithmetic precedence is supported: parentheses and exponents are evaluated before multiplication and division, followed by addition and subtraction.

Editing modes

  • Source mode shows the original Markdown without generated answers.
  • Live Preview shows answers alongside editable expressions.
  • Reading view shows answers in rendered notes.

Code blocks, inline code, math blocks, frontmatter, and links are ignored.

Platform support

Note Calc is designed for both desktop and mobile Obsidian. It is not marked as desktop-only.

Manual installation

Copy these files into .obsidian/plugins/note-calc/ inside your vault:

  • main.js
  • manifest.json
  • styles.css

Then reload Obsidian and enable Note Calc under Community plugins.

Development

npm install
npm run build

License

MIT