recipe icon indicating copy to clipboard operation
recipe copied to clipboard

Ingredient Headings

Open drewdeakin opened this issue 9 years ago • 4 comments

Is it possible to add in ingredient headings?

drewdeakin avatar Aug 21 '16 04:08 drewdeakin

How would you envision that working?

khalwat avatar Aug 31 '16 01:08 khalwat

chickpea dip simple recipes

New button "Add Ingredient" Heading. Rather than Qty, Units and Ingredient. Single textfield.

When display the code, would it be possible to use if statements? eg:

If Ingredient Heading: <h2>do this</h2>; elseif Ingredient: <li>do this</li>; endif;

drewdeakin avatar Aug 31 '16 01:08 drewdeakin

Ah I see, you essentially want the ingredients lists to be broken down into sections, with a section heading on each section?

khalwat avatar Sep 16 '16 20:09 khalwat

+1 to being able to break the ingredients (and directions) into sections. My client frequently has complicated recipes that she needs to display broken down into various stages; allowing a clear delineation of what ingredients or directions belong to what part of a recipe are great.

For instance, I have a recipe for a Cornbread covered with Jalapeño Cream Cheese Frosting

I would ideally have:

Ingredients

Cornbread

  • 12 eggs
  • a bucket of flour
  • 34 ears of corn

Frosting

  • 14 Jalapeños, seeded
  • Platter of cream cheese

Directions

Cornbread

  1. Aenean lacinia bibendum nulla sed consectetur.
  2. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
  3. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.

Frosting

  1. Vestibulum id ligula porta felis euismod semper.
  2. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  3. Donec id elit non mi porta gravida at eget metus.

furioursus avatar Oct 02 '16 01:10 furioursus