diff --git a/.prettierrc.yml b/.prettierrc.yml index f105a4a8b1..f79c105d2f 100644 --- a/.prettierrc.yml +++ b/.prettierrc.yml @@ -1,3 +1,7 @@ -singleQuote: true -printWidth: 140 -trailingComma: all +{ + 'plugins': ['prettier-plugin-jinja-template'], + 'singleQuote': true, + 'printWidth': 140, + 'trailingComma': all, + 'overrides': [{ 'files': ['*.html', '*.njk'], 'options': { 'parser': 'jinja-template' } }], +} diff --git a/__snapshots__/layout/_template.spec.js.snap b/__snapshots__/layout/_template.spec.js.snap index b442da99c9..0433ebd75c 100644 --- a/__snapshots__/layout/_template.spec.js.snap +++ b/__snapshots__/layout/_template.spec.js.snap @@ -42,14 +42,17 @@ exports[`base page template matches the body block override snapshot 1`] = ` - +
+ + Content + + +