Basics
Write normal notes and mix calculations directly into the same document.
$500 for tickets + $70 for a taxi
Formatting
- Start a line with
# to create a header.
- Use
: to separate a description from the calculation.
Numbers
0.5 + .5
1k for one thousand
1 000 000 or 1,000,000
1M for one million
Operators
+, -, * or x, /, %, ^
12 % 10 for modulus
2 ^ 3 for exponents
100 + 25%, 100 - 25%, 25% of 100
Currencies
Use currency symbols or ISO codes. Rates refresh about hourly.
$100 + 50EUR
20CAD in USD
1 btc in usd
Totals
Use total or sum. Summing stops at the nearest header.
## Trip
Milk $3
Eggs $2
Total
References
Results can be referenced on later lines.
100 + 200
(300) + 25%
Variables
Variable names are case-insensitive and can contain letters, numbers, and spaces.
iPhone 15 = $998
AirPods Pro = $249
Price difference: iphone 15 - airpods pro