Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

451 B
Raw Blame
// Astro components: the frontmatter, a TypeScript script between `---` fences,
// then the template. `index.ts` parses the script as TypeScript and the
// template as HTML with `{…}` expressions. Regenerate with
// `pnpm gen:astro-grammar`.

@top Document { Frontmatter? Template? }

Frontmatter { FrontmatterFence FrontmatterScript? FrontmatterFence? }

@external tokens component from "./tokens" { FrontmatterFence, FrontmatterScript, Template }