html-demo-element
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "html-demo-element", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Webcomponent inserts prism JS syntax colored HTML in html-demo-element before actual dom", | ||
@@ -5,0 +5,0 @@ "author": "Sasha Firsov", |
@@ -20,3 +20,3 @@ # html-demo-element | ||
<script type="module" src="https://unpkg.com/html-demo-element@1.0.6/html-demo-element.js"></script> | ||
<script type="module" src="https://unpkg.com/html-demo-element@1.0.7/html-demo-element.js"></script> | ||
<script type="module" src="https://unpkg.com/slotted-element@1.0.3/slotted-element.js"></script> | ||
@@ -55,4 +55,4 @@ ``` | ||
# Live demo | ||
* https://unpkg.com/html-demo-element@1.0.6/demo/index.html | ||
* https://unpkg.com/html-demo-element@1.0.6/demo/advanced.html | ||
* https://unpkg.com/html-demo-element@1.0.7/demo/index.html | ||
* https://unpkg.com/html-demo-element@1.0.7/demo/advanced.html | ||
* https://unpkg.com/slotted-element@1.0.2/demo/index.html | ||
@@ -73,4 +73,5 @@ | ||
* `source` - the source code text. If the attribute is not defined, it would be initialized from `source` slot ^^ | ||
* `type` - one of [prism js supported languages](https://prismjs.com/#supported-languages). | ||
* `type` - one of [prism js supported languages](https://prismjs.com/#supported-languages) or `auto`. | ||
`html`, `css`, `js` imported by default. When omitted, assumed `html`. | ||
* `legend` - optional heading for `html-demo-element` | ||
* `src` - optional url to retrieve the source. When `type` is omitted, it is detected from `content-type` or extension. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
120116
75