Authoring
Red Glare uses Comark for content parsing — a CommonMark-compliant parser with a plugin pipeline. Pages are plain markdown files in src/content/docs/, with a YAML frontmatter block validated against docsSchema.
In this section
- Frontmatter — every field the schema accepts, with defaults and examples.
- Markdown features — what CommonMark features Comark supports out of the box.
- Directive syntax — MDC directives for alerts, accordions, code groups, and more.
- Page templates — the
doc,splash, andapitemplates and when to use each.