title: How to insert html block in Handlebars partials
body: <p>I use Handlebars for a simple Node.js project and I would like to insert more than <em>just</em> few variables in a partial.</p>
  
  <p>I have a <code>layout</code> that contains the very basic frame of my html page (<code>html</code> and <code>head</code> tags). The pages I render are usually all the same and contain the following code:</p>
  
  <pre><code>{{&gt; default/header
    help_title="This is the title of my help modal."
    help_body="&lt;p&gt;This is the body.&lt;/p&gt;"
  }}
  
  &lt;main class="vertical-center"&gt;
    &lt;div class="container-fluid"&gt;
      &lt;div class="row justify-content-center"&gt;
        &lt;div class="col-12 col-lg-8 justify-content-center align-items-center"&gt;
          &lt;!-- THE CONTENT THERE --&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/main&gt;
  
  {{&gt; default/footer}}
  </code></pre>
  
  <p>Depending on the page itself, I may want not to display the header and/or the footer (and I remove the line consequently).</p>
  
  <p><strong>My need</strong>: I'd like to wrap the <code>main</code> part in a partial (because everything but the <code>&lt;!-- THE CONTENT THERE --&gt;</code> is invariant) or whatever could do the job and providing to it not only few words (like in the header) but potentially a lot of html code. And I cannot find a way to do it in the documentation. Something like this, that would basically work a bit like layouts:</p>
  
  <pre><code>{{&gt; default/main
    &lt;!-- THE RAW HTML CONTENT THERE --&gt;
  }}
  </code></pre>