A simple webcomponent that displays code preview via highlight.js and shows a preview of the created code in an iframe
<preview-code-control
location="relative/path/to/code-snippets"
show="code,html,preview"
>
Please wait while the code is being loaded...
</preview-code-control>
* `location` - The location of the code snippets. See format for details
* `show` - The elements to show, in the order they should be shown. The first is selected per default