Home > database >  Django Jinja2 variables in CSS occur red highlights in VSCode
Django Jinja2 variables in CSS occur red highlights in VSCode

Time:07-03

I'm using Visual Studio Code. And I liked it. But when I use jinja in css or javascript, VSC always highlited in red. How can I fix it? It's sometimes annoying.

I'm using Better Jinja plugin.

enter image description here

enter image description here

CodePudding user response:

Use plugins - Django Template and Django.

And there will be no problems.

  • Related