1.0.0 • Published 2 years ago

preview-code-control v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

preview-code-control

A simple webcomponent that displays code preview via highlight.js and shows a preview of the created code in an iframe

Usage

    <preview-code-control
        location="relative/path/to/code-snippets"
        show="code,html,preview"
        >
        Please wait while the code is being loaded...
    </preview-code-control>

Attributes

* `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	
1.0.0

2 years ago