I have code like this:
{% for i in '01' %}
{% cycle 'hidden lg:block' 'lg:hidden' as res_class silent %}
{% for j in '012' %}
{% if i == '0' %}
{% cycle 'mt-1' 'my-1 parent-active:w-5' 'mb-1 parent-active:w-3' as line_class silent %}
{% else %}
{% cycle 'mt-1 parent-active:translate-y-[10px] parent-active:rotate-45' 'my-1 parent-active:opacity-0' 'mb-1 parent-active:translate-y-[-10px] parent-active:-rotate-45' as line_class silent %}
{% endif %}
<div
class="{{ line_class }} {{res_class}} mx-1 h-1 w-7 rounded bg-gray-900 transition-all dark:bg-gray-100"></div>
{% endfor %}
{% endfor %}
And it gets all aligned to the first column. Any chance to keep the indentation intact? I know I can use <!-- prettier-ignore --> but sometimes the block is too big.
I have code like this:
And it gets all aligned to the first column. Any chance to keep the indentation intact? I know I can use
<!-- prettier-ignore -->but sometimes the block is too big.