I am using VSCode with Python3, Flask, "jinja(wholroyd.jinja)" plugin and "Linting on Save" function.
What I expect when "Linting on Save"
{% if question_list.has_next %}
<li class="page-item">
<a></a>
</li>
{% else %}
<li class="page-item disabled">
<a></a>
</li>
{% endif %}
Happens to my vscode
{% if question_list.has_next %}
<li class="page-item">
<a></a>
</li>
{% else %}
<li class="page-item disabled">
<a></a>
</li>
{% endif %}
I want to make indentation to {% %} jinja template engine
There's nothinng information on the internet, How can I make it?
question from:
https://stackoverflow.com/questions/65646011/vscode-linting-ignores-jinja-template-in-html 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…