Variables between Twig files and MD?

I’ve got this chunk of code at the Twig file

{% for feature in page.header.features %} 
 {% if feature.teste %}
{% endif %}
{% endfor %}

Then at .MD file I’ve got this

- teste: aeasd

Isn’t suposed to output



I guess I need to register this as a variable or smth like that but I’ve seen anywhere to do that.

Ty for you attetion

Your code works when I try it. Are you sure the right twig file is being used?