Markdown allows you to write using an easy-to-read, easy-to-write plain text format and Astro includes built-in support for Markdown files.
Astro includes native built-in support for Markdown files, without any third part packages, and this allows you to build a blog projects, for example, or documentation website.
Your local Markdown files can be kept anywhere within your src/ directory. Local Markdown can be imported into .astro components using an import statement for a single file and Viteβs import.meta.glob() to query multiple files at once.
Astro allows you to use the Markdown file after importing or querying it and write dynamic HTML templates in your .astro components that include frontmatter data and body content.