GitHub CMS uses Markdown as its primary content format, but with significant extensions: a YAML frontmatter contract sets metadata and SEO, @block directives (answer-first, key-facts, faq, cta) structure content for AI, and nested HTML blocks allow complex layouts without leaving Markdown. Everything compiles to static HTML with JSON-LD in a single build.
Frontmatter Contract: Complete Field Reference
4 @block Directives for AI
answer-first
Main thesis at the top. AI extracts answers from first 150-200 words.
key-facts
Structured facts. Ideal for Featured Snippets and AI summarization.
faq
Q&A pairs. Auto FAQPage Schema.org markup. Direct path to Featured Snippets.
cta
Call to action at the end. Converts reader into GitHub CMS user.
Start Writing in Advanced Markdown Today
GitHub CMS Pro — all @block directives and frontmatter contract built-in.