HTML and inline JavaScript

JavaScript

CSS

Rendered code

Use the boolean attribute render to render the code inside the <template> tag.

Copy to clipboard button

Use the boolean attribute copy-clipboard-button to display a "copy" button on the top right corner.

Change content dynamically

Custom background colors