Divided Ingredients List
teusday opened this issue · comments
In the documentation, I don't see anything about segmenting ingredients lists, which many recipes have.
For example, if I were making a frosted cake, I might have:
CAKE:
1 box cake mix
1 egg
FROSTING:
1 can store-bought frosting
Could this be implemented?
For this sort of thing, each individual sub-recipe would be defined as their own recipe, and then those recipes would be listed as ingredients in the main recipe. How they are displayed to the user would depend upon the rendering engine used.
How do you list sub recipes? I couldn't find any examples that showcase this.
ORF
doesn't specify how to hook together sub-recipes to one larger recipe and doesn't provide any examples wither. Which is a shame, as many many recipes do have the form of RECIPE = [BASE + INDIVIDUAL]
, where BASE
is a run-of-the-mill recipe with no need for repetition in data or sometimes even presentation.
Could you provide an explicit example of how to hook together two or more recipes?
I'd used the X- field, maybe X-subrecipe? In the end it would be up to the implementing program how to handle it.