A web component library that provides syntax highlighting functionality using the CSS Custom Highlight API. The component can be imported as an ES module or via CDN, used with simple HTML markup by specifying a language attribute, and styled with CSS themes. Limited themes are currently available, but custom themes can be created.

1m read timeFrom andreruffert.github.io
Post cover image
Table of contents
JavaScriptHTMLCSS
4 Comments

Sort: