Developer's documentation in Git repo | This page source | Advanced use
<style>
@import "demo.css";
</style>
<div class="heart">💖</div>
<html-demo-element legend="with legend attribute 🤗" description="👓
Description will be kept next to legend
but less emphasized ">
Eating own dog food 🦴
</html-demo-element>
Eating own dog food 🦴
slot="source"
defines where to get code from
slot="demo"
inject the html from source:
slot="text"
inject colored code text:
<i>Croissant 🥐️ </i>
Happy coding!