frontmatter
Frontmatter is a metadata block, such as a title or date, placed at the top of a text file like a Markdown document.
Frontmatter is a metadata block kept at the top of a text file, such as a Markdown document, separate from the main content. It is usually written in YAML between lines of three hyphens and holds keys and values such as a title, date, tags and description.
Static site generators and documentation tools read these values to build or organize pages. In AI tools, the name and description of an instruction file are often placed in its frontmatter so the tool can tell what the file is for without reading the whole body.
This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.