frontmatter

noun

Frontmatter is a block of metadata at the beginning of a content file, usually read by the tool that processes the file.

This page's frontmatter contains a title and a description.

Frontmatter appears at the top of a content file, often between lines of three dashes. It follows a format such as YAML and can contain fields like a title or date.

Frontmatter is not part of Glossary · In briefMarkdownMarkdown is a way to add structure to plain text using simple characters, for example for headings, lists, emphasis, and links.Read more itself. A project uses its own tooling to decide whether to recognize the metadata and which fields to process. Glossary · In briefMDXMDX is a file format that lets you combine Markdown with JSX, JavaScript expressions, and import and export statements.Read more does not support YAML frontmatter by default either; additional tooling is needed. See the MDX guide to frontmatter.