The YAML Frontmatter of a header in a markdown document is only rendered in a proper way, when a blank line is inserted before the closing three dashes.
Example:
This
---
title: My Article Title
date: 2024-01-15
author: John Doe
tags: [markdown, tutorial, web]
---
is differently rendered to this
---
title: My Article Title
date: 2024-01-15
author: John Doe
tags: [markdown, tutorial, web]
---
It depends on the blank line.
The YAML Frontmatter of a header in a markdown document is only rendered in a proper way, when a blank line is inserted before the closing three dashes.
Example:
This
is differently rendered to this
It depends on the blank line.