vscode-pretty-formatter
vscode-pretty-formatter copied to clipboard
Doesn't Work With Frontmatter
This doesn't work when front-matter exists in a nunjucks/liquid file.
Running the plugin via "Format Document With..." throws the following error:

Formatting on save simply doesn't change anything. The file i'm working with looks like this:
---
layout: base
---
<div>
{% slot 'main' %}
<main class="grid-area-main p-5">
{{ content | safe }}
</main>
{% endslot %}
</div>