Re:Show HN: CookLang – Recipe Markup Language
by tenaciousDaniel on Tuesday October 26, 2021 @03:35PM
(#29005182)
The amounts could just be tied to the steps. So maybe step 2 is to add 3 tbsp of ingredientX, and step 5 is to add 1 tbsp of ingredientX. So programmatically, the ingredients list would be the cumulative amounts of all ingredients described in each step, which would be 4 tbsp ingredientX.
Re:Show HN: CookLang – Recipe Markup Language
by rustyminnow on Tuesday October 26, 2021 @04:48PM
(#29006070)
Aha! Yes!
Now that I've tried it, that seems to be exactly how CookLang does it. Though it would be nice if there was a sort of asterisk or note in the ingredients list that indicated the quantity is split between steps
... Or you know I could just learn to read the instructions carefully and not dump the whole bowl of garlic in at once. That'd help too.
My other gripe is when recipes tell you to prep 4 tbsp of an ingredient but aren't clear that you only use 3 in an early step and are supposed to save the other 1 tbsp for an end step. Not sure how this could be programmatically solved though