Skip to main content

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, and api templates and when to use each.

Red Glare

An official website of the Open source project

Looking for U.S. government information and services? Visit USA.gov