Markdown frontmatter syntax highlighting for Vim and Neovim
The default markdown syntax highlighting configuration for Vim and Neovim does not know how to highlight markdown frontmatter that is commonly used in static site generators.
In this article I will show how you can add a syntax region that tells Vim/Neovim to highlight the frontmatter with a different syntax.