Astro
Fetch schemas in your Astro component’s frontmatter and render them directly into the HTML — no JavaScript required.Install
Usage
In any Astro layout or page component, fetch schemas in the frontmatter and render them as inline script tags:Detection
Schemas rendered this way appear in the raw HTML source. The InstantSchema dashboard detects them automatically on the next scan.For auto-detection to work, add Without this attribute the dashboard cannot distinguish your schemas from other JSON-LD on the page.
data-instantschema="1" to each rendered script tag: