Two markdown fixtures with hand-authored JSON baselines that pin the §0 Q9 derive output across runs: - frontmatter-only.md exercises the YAML happy path with most fields, unknown keys, an `id:` field, and a non-UTC created_at (so the baseline shows original_timestamps preservation). - mixed-lang.md is body-only with no `lang:` field; baseline pins the lingua autodetect result for our enabled language set. A separate `emit_snapshots` test (marked `#[ignore]`) regenerates the baselines from the current parser output. A determinism test parses the fixture twice and asserts equality so any non-determinism (e.g. key ordering, lingua nondeterminism) fails fast.
316 B
316 B
title, aliases, tags, lang, created_at, updated_at, source_type, trust_level, id, custom_field, nested_obj
| title | aliases | tags | lang | created_at | updated_at | source_type | trust_level | id | custom_field | nested_obj | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Frontmatter Only |
|
|
en | 2024-01-15T10:00:00+09:00 | 2024-02-20T08:30:00Z | note | secondary | my-stable-handle | hello |
|
Body Heading
Body paragraph.