Tag: jinja

  • VS Code, Associate Jinja with HTML

    Using VS Code, go to your settings.json file and add the following within the {} brackets.

    "files.associations": {
        "*.jinja": "html",
        "*.jinja2": "html",
        "*.j2": "html",
        "*.njk": "html"
    }

    Have you tried this approach or something similar? Leave a comment if this helped or if you have another approach.

    VS Code, Associate Jinja with HTML