The markdown file is divided into two main parts.
Front-matter: the section of a markdown file that gives context to the content of the file (also can be applied to other file types including yaml, toml and json as well). It is a way to identify metadata in markdown files. This data allows us to do a wide range of actions with the file including creating dynamic routing for where the composed template is placed, accessing a title and cover photo, creating preview cards and even sorting collections based on creation dates.
Content: Places where you put what you want to write.
References
About this Post
This post is written by Andy, licensed under CC BY-NC 4.0.