Open ssnepenthe opened 5 years ago
Any further thoughts? I'd be happy to push forward with your new format. Wary it's a breaking change, optional 'groupedIngredients' / 'groupedInstructions' could be added instead.
Since the group headers aren't an ingredient, I don't think the headings should be in the flat ingredients list as they are now - leading back to just changing the current format as you've stated.
If a recipe has both ingredients and instructions grouped (not that I've seen it anywhere), it'd be nice to share a value between the two so they're linked. We can expect they'd have the same title, but may not be the case at the source.
BBCGoodFood (#47) split most ingredients into groups. I'm not a fan of the current inline headings.
For recipes like this: https://www.epicurious.com/recipes/food/views/vanilla-buttermilk-sheet-cake-with-raspberries-and-orange-cream-cheese-frosting
Current behavior is to extract the group headers as standalone ingredients/instructions, i.e.
But maybe something like this would be preferable:
And when a site doesn't use groups: