feat: renderer
This commit is contained in:
8
testdata/data/article_simple/input.md
vendored
Normal file
8
testdata/data/article_simple/input.md
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
@type: Article
|
||||
author.name: John Doe
|
||||
---
|
||||
|
||||
# My First Article
|
||||
|
||||
This is the content of my first article. It's a simple one.
|
10
testdata/data/article_simple/output.json
vendored
Normal file
10
testdata/data/article_simple/output.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Article",
|
||||
"headline": "My First Article",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "John Doe"
|
||||
},
|
||||
"articleBody": "This is the content of my first article. It's a simple one."
|
||||
}
|
17
testdata/data/baguette/input.md
vendored
Normal file
17
testdata/data/baguette/input.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
@type: Recipe
|
||||
author.name: Max Richter
|
||||
---
|
||||
|
||||
# Baguette
|
||||
|
||||
My favourite baguette recipe
|
||||
|
||||
## Ingredients
|
||||
- Flour
|
||||
- Water
|
||||
- Salt
|
||||
|
||||
## Steps
|
||||
1. Mix Flour Water and Salt
|
||||
2. Bake the bread
|
19
testdata/data/baguette/output.json
vendored
Normal file
19
testdata/data/baguette/output.json
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Recipe",
|
||||
"name": "Baguette",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Max Richter"
|
||||
},
|
||||
"description": "My favourite baguette recipe",
|
||||
"recipeIngredient": [
|
||||
"Flour",
|
||||
"Water",
|
||||
"Salt"
|
||||
],
|
||||
"recipeInstructions": [
|
||||
"Mix Flour Water and Salt",
|
||||
"Bake the bread"
|
||||
]
|
||||
}
|
21
testdata/data/recipe_no_description/input.md
vendored
Normal file
21
testdata/data/recipe_no_description/input.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
@type: Recipe
|
||||
author.name: Alex Chef
|
||||
cookTime: PT0M
|
||||
image: https://example.com/salad.jpg
|
||||
prepTime: PT10M
|
||||
recipeYield: 2 servings
|
||||
---
|
||||
|
||||
# Simple 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.
|
24
testdata/data/recipe_no_description/output.json
vendored
Normal file
24
testdata/data/recipe_no_description/output.json
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Recipe",
|
||||
"name": "Simple Salad",
|
||||
"image": "https://example.com/salad.jpg",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alex Chef"
|
||||
},
|
||||
"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."
|
||||
]
|
||||
}
|
23
testdata/data/recipe_salad/input.md
vendored
Normal file
23
testdata/data/recipe_salad/input.md
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
@type: Recipe
|
||||
author.name: Alex Chef
|
||||
cookTime: PT0M
|
||||
image: https://example.com/salad.jpg
|
||||
prepTime: PT10M
|
||||
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.
|
25
testdata/data/recipe_salad/output.json
vendored
Normal file
25
testdata/data/recipe_salad/output.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Recipe",
|
||||
"name": "Simple Salad",
|
||||
"image": "https://example.com/salad.jpg",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alex Chef"
|
||||
},
|
||||
"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."
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user