title: PHP put html inside a twig variable?
body: <p>Hello I am trying to try something that is expieremental and not really sure if it's possible. I have a twig template with some html that is duplicated on the page and I am wondering if it's possible to create a variable in twig that holds a snippet of html (must include html markup) that i can then call throughout the page instead of repeating myself.... thanks in advance</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
     &lt;html&gt;
      &lt;head&gt;
         &lt;title&gt;My Webpage&lt;/title&gt;
       &lt;/head&gt;
       &lt;body&gt;
  
       {% set greet = "&lt;strong&gt;hello&lt;/strong&gt;" %}
  
       &lt;div id="1"&gt; {{ greet }} Jeremy&lt;/div&gt;
       &lt;div id="1"&gt; {{ greet }} Davis&lt;/div&gt;
  
     &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>