VS Code, Associate Jinja with HTML

in

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.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Jorge Saldívar

Subscribe now to keep reading and get access to the full archive.

Continue reading