Open lchen198 opened 3 months ago
Thanks for creating this library. It is super useful!
I noticed the indentation in VS code is not correct when I use Djlint to format the html file.
I ended up getting this:
{% for coupon, own in ownership %} <div class="col"> {% card %} {% slot buttons %} {% endslot %} {% endcard%} </div> {% endfor %}
Is there a way to fix it?
The solution is to add a djlint setting in the pyproject.toml
[tool.djlint] custom_blocks="card,slot"
Could you please add this to the documentation. Thanks!
Thanks for creating this library. It is super useful!
I noticed the indentation in VS code is not correct when I use Djlint to format the html file.
I ended up getting this:
Is there a way to fix it?