Sunny Yu261 downloadsCalculate arithmetic expressions in Live Preview and Reading view.
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.
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.
Note Calc shows results with two decimal places by default. You can change this from Settings → Community plugins → Note Calc.
Available decimal place options:
01234+- and −* and ×/ and ÷%^Standard arithmetic precedence is supported: parentheses and exponents are evaluated before multiplication and division, followed by addition and subtraction.
Code blocks, inline code, math blocks, frontmatter, and links are ignored.
Note Calc is designed for both desktop and mobile Obsidian. It is not marked as desktop-only.
Copy these files into .obsidian/plugins/note-calc/ inside your vault:
main.jsmanifest.jsonstyles.cssThen reload Obsidian and enable Note Calc under Community plugins.
npm install
npm run build