Open RichSteele opened 3 years ago
This is definitely something I want to achieve at some point, but there are some things that need thinking through:
mix in @milk{3%cups} [...] Brush with @milk{1/2%tablespoon}
. Maybe unit conversion is a prerequisite for this?I add a +1 to this.
I'll also add this issue is relevant to cookware too, If a cookware appears more than once in the instructions, it'll appear more than once in the list.
As for the units question, I think a naive implementation to start with will be good enough. Meaning, if the units are the same, combine them. Otherwise, keep them separate. When this project will get to do unit conversions, the issue of smarter handling can be discussed again
If I have multiple uses of the same ingredient in the same recipe I'd prefer if the total was combined, perhaps with an optional "divided" annotation on the ingredient.
So, for example, if I have a recipe like:
I get an ingredients list that looks like:
I'd prefer to see something like: