Split the recipe method into YAML

P1 priority Donep1-is-split-recipe-method-into-yaml-sidecar

Recipe steps are prose, not structured data

Stage
03-done
Author
Ivan Hawkes
Created
Completed

Recipe steps are prose, not structured data.

A recipe bundle holds two files: index.md, the page, and ingredients.yaml, the structured ingredients of each dish of the recipe. The method had no sidecar: every step was written as a markdown list in index.md, under a section named after the dish it belongs to (## Crust, ## Filling) or under ## Directions. Steps were therefore prose - unqueryable, and styled by .prose (the reason for is-recipe-list-steps-render-as-paragraphs).

Each recipe is now three files in the same bundle:

method.yaml mirrors ingredients.yaml: a method-list root, one dish entry per component, and a method list of steps under each dish.

YAML
method-list:
    - dish: Steak
      method:
          - fry the steak
          - rest the steak
    - dish: Pepper Sauce
      method:
          - the first step of the recipe
          - the second step
          - third step

Work

Acceptance Criteria

Notes

Not in scope