RecipesHousehold
Back to Recipes

Template Syntax

Recipe steps support a template syntax for dynamic ingredient amounts that scale automatically when you change the recipe quantity.

Ingredient References

Each ingredient has a key (set when adding ingredients). Use the key inside {{ }} to reference it.

Full output (amount + unit + name, lowercase)
{{ flour }}200g flour
Capitalized (for start of sentence)
{{ Flour }}200g Flour
Name only (no amount, for "add the flour")
{{ flour.name }}flour
Amount only (number, for math)
{{ flour.amount }}200

All values scale automatically when the recipe quantity changes.

Arithmetic

You can do math inside {{ }} expressions.

ExpressionResultDescription
{{ flour.amount / 2 }}100Half the flour
{{ flour.amount * 1.5 }}3001.5x the flour
{{ flour.amount + 50 }}250Add 50 to flour
{{ (flour.amount + sugar.amount) / 2 }}175Average of two

Supported operators: + - * / and parentheses ( ) for grouping.

Functions

FunctionExampleDescription
round(){{ round(flour.amount / 3) }}Round to nearest integer
ceil(){{ ceil(eggs.amount) }}Round up
floor(){{ floor(eggs.amount) }}Round down
min(){{ min(flour.amount, 500) }}Smaller of two values
max(){{ max(flour.amount, 100) }}Larger of two values
abs(){{ abs(a.amount - b.amount) }}Absolute value

Sub-recipe References

Link to other recipes inline using the @recipe() syntax.

Syntax
@recipe(pizza-dough)
Renders as
Pizza Dough(linked to the recipe)

Use the recipe's slug (the URL-friendly name shown in the address bar).

Timers

Embed interactive countdown timers using @timer(duration). Duration supports hours (h), minutes (m), and seconds (s), which can be combined.

Examples
@timer(15m)15 minute timer
@timer(1h30m)1 hour 30 minutes
@timer(30s)30 seconds
@timer(2h)2 hours
Usage in a step
Bake at 180°C for @timer(25m) until golden brown.

Timers render as inline buttons. Clicking starts a live countdown in a floating panel. Multiple timers can run at the same time. An alarm repeats until dismissed when a timer finishes.

Markdown

Step bodies support standard Markdown for formatting.

SyntaxResult
**bold**bold
*italic*italic
- itemBullet list
1. itemNumbered list
> quoteBlockquote