ffs, i should have committed wayyy earlier

This commit is contained in:
Max Richter
2025-08-16 20:38:40 +02:00
commit 43644c4f40
25 changed files with 865 additions and 0 deletions

25
parser/testdata/recipe_salad/input.md vendored Normal file
View File

@@ -0,0 +1,25 @@
---
@type: Recipe
image: https://example.com/salad.jpg
author: Alex Chef
datePublished: 2025-08-12
prepTime: PT10M
cookTime: PT0M
recipeYield: 2 servings
---
# Simple Salad
A quick green salad.
## Ingredients
- 100 g lettuce
- 5 cherry tomatoes
- 1 tbsp olive oil
- Pinch of salt
## Steps
1. Wash and dry the lettuce.
2. Halve the cherry tomatoes.
3. Toss with olive oil and salt.

View File

@@ -0,0 +1,26 @@
{
"@context": "https://schema.org/",
"@type": "Recipe",
"name": "Simple Salad",
"image": "https://example.com/salad.jpg",
"author": {
"@type": "Person",
"name": "Alex Chef"
},
"datePublished": "2025-08-12",
"description": "A quick green salad.",
"prepTime": "PT10M",
"cookTime": "PT0M",
"recipeYield": "2 servings",
"recipeIngredient": [
"100 g lettuce",
"5 cherry tomatoes",
"1 tbsp olive oil",
"Pinch of salt"
],
"recipeInstructions": [
"Wash and dry the lettuce.",
"Halve the cherry tomatoes.",
"Toss with olive oil and salt."
]
}