{% raw %}
{% with element.json.data.HeadingTypes.heading_texts as "headings" %}
  <div class="heading heading__{{headings.modifiers}}">
    <{{headings.htmltag}}>{{ headings.text }}</{{headings.htmltag}}>
  </div>
{% endwith %}
{% endraw %}
