Hide field if empty

Hello.
I use a field for nouns <span class="noun">[{{Noun}}]</span>
Any option to not show if i didn’t fill any to this field? For now it shows [ ] when empty.

1 Like

It’s possible using conditional field replacements: Card Generation - Anki Manual

Basically, you can wrap the expression like this:

{{#Noun}}
<span class="noun">[{{Noun}}]</span>
{{/Noun}}
5 Likes