Disclaimer: please use this feature carefully.
<script> let stringToRender = "<h1>Hello egghead</h1>"; </script> <style> textarea { width: 100%; height: 12rem; } </style> <textarea bind:value={stringToRender} /> <div> {@html stringToRender} </div>
Disclaimer: please use this feature carefully.
<script> let stringToRender = "<h1>Hello egghead</h1>"; </script> <style> textarea { width: 100%; height: 12rem; } </style> <textarea bind:value={stringToRender} /> <div> {@html stringToRender} </div>