Kodu Yok Sayma

Kod, djlint etiketleri arasına alınarak yok sayılabilir:

Düz HTML için -

<!-- djlint:off -->
   <bad html to ignore>
<!-- djlint:on -->

ya da bir yorum olarak -

{# djlint:off #}
   <bad html to ignore>
{# djlint:on #}

ya da uzun bir yorum olarak -

{% comment %} djlint:off {% endcomment %}
   <bad html to ignore>
{% comment %} djlint:on {% endcomment %}

ya da golang tarzı bir yorum olarak -

{{ /* djlint:off */ }}
   <bad html to ignore>
{{ /* djlint:on */ }}

ya da handlebars tarzı bir yorum olarak -

{{!-- djlint:off --}}
   <bad html to ignore>
{{!-- djlint:on --}}

Kuralları yok sayma

Belirli linter kuralları da kural adı, yok sayılan bloğun açılış etiketine eklenerek yok sayılabilir.

{# djlint:off H025,H026 #}
<p>
{# djlint:on #}

<!-- djlint:off H025-->
<p>
<!-- djlint:on -->

{% comment %} djlint:off H025 {% endcomment %}
<p>
{% comment %} djlint:on {% endcomment %}

{{!-- djlint:off H025 --}}
<p>
{{!-- djlint:on --}}

{{ /* djlint:off H025 */ }}
<p>
{{ /* djlint:on */ }}