Skip to content

Headings and Comments

Use the # character to indicate a heading line. Heading lines are emboldened and do not display an answer (even if there are numbers in the heading).

Notes Calculator
Calculation example
CalculationResult
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

If you want to add a comment to your notes, use the // characters. Comments are not evaluated and do not display an answer.

Notes Calculator
Calculation example
CalculationResult
// This is a comment
// Comments can also start after an expression
2 // the number of apples2

Text in double quotes is a note, not part of the calculation. You can use as many quoted notes as you like on one line.

Notes Calculator
Calculation example
CalculationResult
1 + 1 "two"2
1 "a" + 2 "b"3
"just a quote line"

A // comment always wins, even over a quote that opens before it: in "a // b" + 1 everything from // onwards is a comment, so nothing is left to calculate and the line stays blank.

Start a line with a few words followed by a colon and a space to label it. The label is ignored, and the rest of the line is calculated as usual.

Notes Calculator
Calculation example
CalculationResult
Total: 4242
Rent: 100 + 50150
Tip: 20%20%
Label with number 5: 10 + 111
14: 4545

The space after the colon is what makes it a label:

  • 14:45 is a time, not a label: there is no space after the colon.
  • Total:100 isn’t a label either, so the line stays blank.
  • A ternary’s colon is never read as a label: shipping = express ? 15 : 5 still calculates (see Conditionals).
  • Only the first label on a line is stripped.

Anything in brackets that isn’t a valid calculation is treated as a note and ignored:

Notes Calculator
Calculation example
CalculationResult
100 (rent) + 200 (food)300
999 (for iPhone 16)999
1 (a (b) c) + 12
(just a note)

Brackets that do contain a calculation keep their usual meaning: they group it, and a group written next to a value multiplies:

Notes Calculator
Calculation example
CalculationResult
100 * (2 + 3)500
5 (2+3)25

See Operators for that multiplication shorthand.

A line you are still typing isn’t thrown away: if the only problem is an unclosed bracket or quote, the best answer available is shown.

Notes Calculator
Calculation example
CalculationResult
1 (unbalanced1
1+(23
(22
1 + "oops1

Plain prose with nothing to calculate still shows no answer.