Skip to content

v4.26.0

Choose a tag to compare

@rodrigoslayertech rodrigoslayertech released this 23 Sep 23:43
· 17 commits to main since this release

Focus: a page FAQ declared in Markdown frontmatter, rendered by the engine at the end of the page.

Changes

  • ✨ Added the page FAQ: list questions under a faq: frontmatter key (- q: / a: items, answers in full Markdown, a: | for several lines) and the page closes with an FAQ accordion, placed after the content and above the footer.
  • 🧭 The FAQ gets a Table of Contents entry (#faq) and a deep link per question (#faq-<slug>); opening a link expands its question. Anchors are deduped against the page's own headings.
  • 🔎 Emits schema.org FAQPage JSON-LD in the prerendered head — rendered by useMeta under SSR, injected at build for static builds — and keeps it current on client-side navigation.
  • 🤖 The Markdown served to agents (.md files, markdown negotiation, llms-full.txt, MCP, AI Search, the dev server) moves the FAQ out of the frontmatter into a readable ## FAQ section.
  • 🧾 The frontmatter parser now supports lists of maps, block scalars (|, >, with -/+ chomping) and multi-line plain values; duplicate keys warn, and block-scalar titles and descriptions are trimmed.
  • ⚡ The FAQ ships inside each page's lazily loaded compiled tokens and never enters the page registry, so the boot bundle does not grow; editing an FAQ in dev keeps plain HMR instead of restarting the server.
  • 📚 New manual page, Page FAQ (en-US and pt-BR); the Markdown Frontmatter guide, README and agent-skill references were updated, and the manual itself dogfoods the feature.
  • ✅ Validated with 570 passing tests (parser, tokens, compiled artifact, anchors, JSON-LD, agent Markdown, templates) plus SSG and SSR builds checked in a headless browser.