Help: #howto Build Recipe "database" in Obsidian (complex)

Here’s another one, just jotted down two notes for explaining:

This is the “Meldon Salad” note:

---
recipe: Melon Salad
category: dessert
serving: 100 g # blank-separated, so "unit" can be split
portions: 4
ingredients:
  - [watermelon, 80 g]
  - [sugar, 20 g]
tags: [recipe, dessert]
---

# `=this.recipe`
… some dataviewjs to show the ingredients …

… some dataviewjs to calculate totals from the ingredients, maybe combined GL, Insulin Index, or the like …

… preparation …

… notes …

and this a simple “Dessert List”:

# Desserts

```dataview
list
where recipe and category="dessert"
```

Try them and you’ll see why I like YAML. And Obsidian.

2 Likes