title: Rendering HTML Heading Elements in Twig
body: <p>I am rendering some headings using twig and want to know if there is a better and more readable way of doing the following...</p>
  
  <pre><code>&lt;{{ block.headingType }} class="measure-wide"&gt;{{ block.headingText }}&lt;/{{ block.headingType }}&gt;
  </code></pre>
  
  <p>{{ block.headingType }} is the value of the heading selected in the editor. the values are h2, h3, h4, h5 etc. </p>
  
  <p>The way the HTML headings are templated looks ugly (even though the rendering works). Is there a better way of rendering out the heading tags in twig based on the value selected?</p>