text </template> <script> var article = document.querySelector('#article'); var r = article.createShadowRoot(); var commentTemplate = document.querySelector('#comment'); r.appendChild(commentTemplate.content.cloneNode(true)); r.appendChild(commentTemplate.content.cloneNode(true)); </script>