html-demo-element demo

Developer's documentation reside in Git repo.

View this page source

in body

💖

With title attribute

Eating own dog food 🦴

Template as body

When template is presented, only its body will be shown as source

This way you could decorate sources. The sources shown after template and live DOM beneath

Slots: source, demo, text

slot="source" defines where to get code

slot="demo" inject the html from source:

replaced with tasty demo

slot="text" inject colored code text:

replaced with colored code

Happy coding!