So when I woke up today to start working on my website I noticed that all of my .njk
and .md
that had frontmatter (---
) did not have syntax highlighting and snippets did not work.
For some reason having a frontmatter breaks the extension. I tried other extensions related to nunjucks but they seem to work fine, I also tried disabling everything but the issue persists.
Yesterday it was working just fine, this just happened today and I don't know what to do, the only thing I did was shutdown my computer.
I have attached screenshots below to show the issue.
Nunjucks file without frontmatter showing that the extensions behaves correctly
Nunjucks file with frontmatter showing that the extensions stops working
The same thing happens with markdown files - in this case without frontmatter and working
and with frontmatter, not working