26 lines
676 B
Markdown
26 lines
676 B
Markdown
|
|
---
|
||
|
|
{
|
||
|
|
"title": "JSON Frontmatter Test Document",
|
||
|
|
"author": "Test Author",
|
||
|
|
"date": "2025-10-02",
|
||
|
|
"tags": ["json", "frontmatter", "testing"],
|
||
|
|
"version": 2.1,
|
||
|
|
"published": false,
|
||
|
|
"config": {
|
||
|
|
"theme": "dark",
|
||
|
|
"language": "en",
|
||
|
|
"features": ["toc", "search", "navigation"]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
---
|
||
|
|
|
||
|
|
# JSON Frontmatter Test Document
|
||
|
|
|
||
|
|
This document uses JSON format for frontmatter instead of YAML.
|
||
|
|
|
||
|
|
The frontmatter parser should handle JSON format correctly and extract values like:
|
||
|
|
- title: "JSON Frontmatter Test Document"
|
||
|
|
- config.theme: "dark"
|
||
|
|
- config.features: ["toc", "search", "navigation"]
|
||
|
|
|
||
|
|
This tests the parser's ability to handle different frontmatter formats.
|