YAML front matter
A Markdown file can have YAML front matter. YAML front matter is indicated with the following syntax:
---
{YAML-here}
---
In the YAML front matter metadata about the document can be stored. Information about the author, title, date and language of the document are frequently used pieces of metadata:
---
author: "Thimo van Velzen"
title: "Intership Report Pre-final"
date: "07-10-2003"
lang: en
---
# Introduction
Pandoc uses the YAML front matter to insert various pieces of metadata into the generated document.
The lang:
field is used by the ltex-ls
language server to check the language
of the current buffer.