recipe file format

The file format is a simple JSON format - an example of which is below:

{
	"title":"Pancakes",
	"information": [
		{"Course":"breakfast" },
		{"Time":"under 30 minutes" },
		{"Skill level":"easy" },
		{"Cost":"inexpensive" },
		{"Yield":"about 16 3-inch pancakes" }
	],
	"ingredients": [
		"½ stick (4 Tablespoons) butter 60 gram",
		"1 cup milk",
		"2 eggs",
		"1¼ cups flour",
		"1 tablespoon sugar",
		"2 teaspoons baking powder",
		"½ teaspoon salt",
		"2 tablespoons vegetable oil",
		"§ To go with the pancakes:",
		"Butter at Room Temperature",
		"Maple Syrup"
	],
	"directions": [
		"If your butter is very cold, cut it into 4 or 5 pieces so it will melt more quickly in the milk. Put the butter and 1 cup milk into a small saucepan and set the saucepan on a stove burner. Turn the heat on to medium. It will only take a minute or two for the milk to get hot enough to melt the butter, so stay by the stove, watch, and stir the milk mixture often. When the milk is hot and the butter is melted, take the saucepan off the burner and let the mixture cool a little.",
		"Crack the 2 eggs into a mixing bowl. Beat the eggs together with a fork until the yolks and whites are blended and the eggs become all yellow. Before you add the milk and butter to the eggs, be sure the mixture has cooled. Test it by poking your finger quickly in and out of the saucepan to check. If the mixture is barely warm, add it to the eggs. If it is still hot, let it cool a little longer and then add it to the eggs. Stir the eggs and milk mixture together.",
		"Put the 1¼ cups flour, 1 tablespoon sugar, 2 teaspoons baking powder, and ½ teaspoon salt into a mixing bowl. Stir the flour mixture with a fork, going round and round in the bowl so everything gets mixed together nicely.",
		"Add the flour mixture (the dry ingredients) to the egg mixture (the wet ingredients). Stir everything together with a large spoon, The minute you see that the batter (this uncooked mixture) looks moist with lots of lumps, kind of like soupy cottage cheese, stop stirring! If you stir too much, the pancakes will be tough.",
		"Spread 1 teaspoon of the vegetable oil all over the bottom of a large skillet, using your fingers or a piece of paper towel. Put the skillet on a burner and turn the heat to medium-high. In a few seconds, sprinkle a few drops of water on the bottom of the skillet, and if they dance, pop, and sputter, the skillet is hot. The first pancake you make is a test pancake to get the feel of how hot the skillet is, and how long it will take to cook the pancake on both sides. Drop one large spoonful of batter into the skillet.",
		"As the pancake cooks, watch for tiny bubbles forming on the top and sides, When you see the bubbles all over the topside, this usually means the pancake is ready to turn over. Slide a metal spatula under the pancake and gently turn it over. It should look golden on top. If it looks very brown, turn the heat down a little. Let it cook a few more seconds, then slide the metal spatula again under the pancake, and lift the edge up so you can look and see if the bottom is golden. If it is, remove the pancake from the skillet onto a plate and cut into the middle. If it isnʼt runny it is done.",
		"Now you are ready to get serious about making your pancakes. Have everything ready to go—butter, syrup, plates, knives, forks napkins—so you can make 3 or 4 pancakes at one time, which is a good serving for each person. Make the pancakes just as you did with the test pancake, this time dropping 3 or 4 large spoonfuls (one at a time) of the batter around the pan, not touching As you remove the pancakes from the skillet, serve them immediately and finally serve yourself. Then you can make more pancakes for those with hearty appetites. Or your friends can take a turn at being a cook and try their hand at making pancakes."
	],
	"notes": [
		"Springle brown sugar over the pancakes and then drizzle lemon juice over it for a sweet 'n' sour taste sensation!"
	]
	
}

keys

For each of the keys on the root recipe object:

  • title This is the title of the recipe book - this defaults to I never knew what to call this...
  • information (optional) An array of JSON objects with key values
  • ingredients The ingredients that go into making the recipe.
  • directions How to make the recipe
  • notes (optional) Anything of interest about the recipe

ingredients

Ingredients can be further broken into sections, for example if you are making a cake and there is one set of ingredients for the cake and, and another set for the icing.

To break up the ingredients, at the start of the ingredient - place a section character § and this will highlight the text as separator.

directions

Directions can also be further broken into sections, for example if there are multiple things that need to be done in parallel, you can break up the directions into sections

To break up the directions, at the start of the direction - place a section character § and this will highlight the text as separator.