uce-highlight
A 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.
// lang is any highlight.js compatible language // theme is any highlight.js theme name // https://cdnjs.com/libraries/highlight.js console.log('uce-highlight');