ffs, i should have committed wayyy earlier
This commit is contained in:
25
parser/testdata/recipe.schema.md
vendored
Normal file
25
parser/testdata/recipe.schema.md
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
{ . }
|
||||
---
|
||||
|
||||
# { name | text,required }
|
||||
|
||||
{ description | text,optional }
|
||||
|
||||
## Ingredients
|
||||
{
|
||||
path: recipeIngredient
|
||||
codec: list
|
||||
required: true
|
||||
item:
|
||||
template: "- { . }"
|
||||
}
|
||||
|
||||
## Steps
|
||||
{
|
||||
path: recipeInstructions
|
||||
codec: list
|
||||
required: true
|
||||
item:
|
||||
template: "{ @index }. { . }"
|
||||
}
|
Reference in New Issue
Block a user