Skip to content

Instantly share code, notes, and snippets.

@AndrwM
Created May 8, 2013 15:22
Show Gist options
  • Save AndrwM/5541194 to your computer and use it in GitHub Desktop.
Save AndrwM/5541194 to your computer and use it in GitHub Desktop.
recipe
{
"name" : "Bacon Brownies", // .js-name
"author" : "John Doe", // .js-author
"public" : true, // .js-public
"type" : "Breakfast", // .js-type
"yield" : {
"amount" : 12, // .js-yield-amount
"unit" : "brownies" // .js-yield-unit
},
"bake-time" : 120, // .js-bake-time
"prep-time" : 100, // .js-prep-time
"temp" : 350, // .js-temp
"temp-unit" : "F", // .js-temp-unit
"notes" : "Lorem Ipsum", // .js-notes
"slug" : "bacon-brownies",
"photo" : [ // .js-photo
// Photo 1
{
"small" : "http://fakeimage.jpg",
"medium" : "http://fakeimage.jpg",
"large" : "http://fakeimage.jpg",
"original" : "http://fakeimage.jpg"
},
// Photo 2
{
"small" : "http://fakeimage.jpg",
"medium" : "http://fakeimage.jpg",
"large" : "http://fakeimage.jpg",
"original" : "http://fakeimage.jpg"
},
],
"steps" : [ // .js-steps
//Step 1
{
"ingredients" : [ // .js-step-ingredients
{
"amount" : 12,
"unit" : "cups",
"name" : "flour"
},
{
"amount" : 15,
"unit" : "cups",
"name" : "sugar"
},
],
"directions" : "Lorem Ipsum" // .js-step-description
},
//Step 2
{
"ingredients" : [ // .js-step-ingredients
{
"amount" : 11,
"unit" : "grams",
"name" : "clorox"
},
{
"amount" : 1,
"unit" : "tablespoons",
"name" : "sugar"
},
],
"directions" : "Lorem Ipsum" // .js-step-description
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment