prettier-plugin-askama-temp.../README.md
2022-11-18 21:22:28 +01:00

408 B

prettier-plugin-jinja-template

Formatter plugin for jinja2 template files.

Install

npm install --save-dev prettier-plugin-jinja-template

Use

To use it with basic .html files, you'll have to override the used parser inside your prettier config:

{
  "overrides": [
    {
      "files": ["*.html"],
      "options": {
        "parser": "jinja-template"
      }
    }
  ]
}