wip
This commit is contained in:
2
testdata/data/article_simple/input.md
vendored
2
testdata/data/article_simple/input.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
@type: Article
|
||||
_type: Article
|
||||
author.name: John Doe
|
||||
---
|
||||
|
||||
|
7
testdata/data/article_simple/output.json
vendored
7
testdata/data/article_simple/output.json
vendored
@@ -1,10 +1,9 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Article",
|
||||
"_type": "Article",
|
||||
"headline": "My First Article",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"_type": "Person",
|
||||
"name": "John Doe"
|
||||
},
|
||||
"articleBody": "This is the content of my first article. It's a simple one."
|
||||
}
|
||||
}
|
||||
|
2
testdata/data/baguette/input.md
vendored
2
testdata/data/baguette/input.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
@type: Recipe
|
||||
_type: Recipe
|
||||
author.name: Max Richter
|
||||
---
|
||||
|
||||
|
5
testdata/data/baguette/output.json
vendored
5
testdata/data/baguette/output.json
vendored
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"name": "Baguette",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"_type": "Person",
|
||||
"name": "Max Richter"
|
||||
},
|
||||
"description": "My favourite baguette recipe",
|
||||
|
6
testdata/data/complex_front_matter/input.md
vendored
6
testdata/data/complex_front_matter/input.md
vendored
@@ -1,8 +1,8 @@
|
||||
---
|
||||
@type: Book
|
||||
_type: Book
|
||||
name: The Great Book
|
||||
author:
|
||||
@type: Person
|
||||
_type: Person
|
||||
name: Jane Doe
|
||||
email: jane.doe@example.com
|
||||
tags:
|
||||
@@ -17,4 +17,4 @@ chapters:
|
||||
|
||||
# The Great Book
|
||||
|
||||
This is the content of the great book.
|
||||
This is the content of the great book.
|
||||
|
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Book",
|
||||
"_type": "Book",
|
||||
"name": "The Great Book",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"_type": "Person",
|
||||
"name": "Jane Doe",
|
||||
"email": "jane.doe@example.com"
|
||||
},
|
||||
@@ -23,4 +22,4 @@
|
||||
],
|
||||
"headline": "The Great Book",
|
||||
"articleBody": "This is the content of the great book."
|
||||
}
|
||||
}
|
||||
|
2
testdata/data/recipe_no_description/input.md
vendored
2
testdata/data/recipe_no_description/input.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
@type: Recipe
|
||||
_type: Recipe
|
||||
author.name: Alex Chef
|
||||
cookTime: PT0M
|
||||
image: https://example.com/salad.jpg
|
||||
|
@@ -1,11 +1,10 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@schema": "Recipe",
|
||||
"@type": "Recipe",
|
||||
"_schema": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"name": "Simple Salad",
|
||||
"image": "https://example.com/salad.jpg",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"_type": "Person",
|
||||
"name": "Alex Chef"
|
||||
},
|
||||
"prepTime": "PT10M",
|
||||
|
2
testdata/data/recipe_salad/input.md
vendored
2
testdata/data/recipe_salad/input.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
@type: Recipe
|
||||
_type: Recipe
|
||||
author.name: Alex Chef
|
||||
cookTime: PT0M
|
||||
image: https://example.com/salad.jpg
|
||||
|
7
testdata/data/recipe_salad/output.json
vendored
7
testdata/data/recipe_salad/output.json
vendored
@@ -1,11 +1,10 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@schema": "Recipe",
|
||||
"@type": "Recipe",
|
||||
"_schema": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"name": "Simple Salad",
|
||||
"image": "https://example.com/salad.jpg",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"_type": "Person",
|
||||
"name": "Alex Chef"
|
||||
},
|
||||
"keywords": [
|
||||
|
4
testdata/data/typo_section_header/input.md
vendored
4
testdata/data/typo_section_header/input.md
vendored
@@ -1,5 +1,5 @@
|
||||
---
|
||||
@type: Recipe
|
||||
_type: Recipe
|
||||
name: Typo Recipe
|
||||
---
|
||||
|
||||
@@ -11,4 +11,4 @@ name: Typo Recipe
|
||||
|
||||
## Stps
|
||||
1. Step 1
|
||||
2. Step 2
|
||||
2. Step 2
|
||||
|
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"name": "Typo Recipe",
|
||||
"recipeIngredient": [
|
||||
"Item 1",
|
||||
@@ -10,4 +9,4 @@
|
||||
"Step 1",
|
||||
"Step 2"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
2
testdata/go.mod
vendored
2
testdata/go.mod
vendored
@@ -1,3 +1,3 @@
|
||||
module git.max-richter.dev/max/marka/testdata
|
||||
|
||||
go 1.25.1
|
||||
go 1.24.7
|
||||
|
Reference in New Issue
Block a user