Description Usage Arguments Author(s) Examples
This function reads a recipe described in a yaml file. Fields must contain:
title: the title of the recipe
date: the date the recipe was written
author: the author of the recipe
email: the email of the author
ingredients: a list of ingredients
description: a list of instructions
1 2 |
x |
a yml file to save the recipe; if NULL, no file is saved |
title |
the title of the recipe |
date |
the date of entry, e.g. 2016-08-19 |
author |
the author of the recipe |
ingredients |
a vector of characters indicating ingredients |
description |
a vector of characters giving cooking instructions |
Thibaut Jombart thibautjombart@gmail.com
1 2 | add.recipe("test")
file.show("test.yml")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.