title: add svg and use elements with javascript
body: <p>I wanna add a icon using only pure javascript. The icon is local on my network and in html it looks like this : </p>
  
  <pre><code> &lt;svg class="pictogram pictogram-checkmark"&gt;
  
            &lt;use xlink:href="/cdn/svg/v18/svg-icons.svg#checkmark" href="/cdn/svg/v18/svg-icons.svg#checkmark"&gt;&lt;/use&gt;
        &lt;/svg&gt;
  </code></pre>
  
  <p>How do I transform this? </p>