A component that helps editing and highlighting code on a page.
npm install uce-highlightA component that helps editing and highlighting code on a page, mainly suitable for admin/editing areas.
Please note, if highlight.js is not provided (both JS and style) it will be downloaded automatically once one component is found on the page.
``html is="uce-highlight"
lang="javascript"
theme="tomorrow-night"
spellcheck="false"
>
// lang is any highlight.js compatible language
// theme is any highlight.js theme name
// https://cdnjs.com/libraries/highlight.js
console.log('uce-highlight');
``