index.html

<!-- Insert this line in your HTML. -->
<script src="https://embed.runkit.com"
         data-element-id="my-element"></script>

<!-- anywhere else on your page -->
<div id="my-element">
    console.log("hello world");
</div>