LabelHighlighter extension | Vaadin

Add Highlight.js syntax-highlighting to Labels.

An extension to Vaadins Label. The label will be syntax-highlighted after this extension is attached to it. After changing the text of the label update() must be called to updtae the syntax-highlighting. Alternatively setValue(String value) of this class takes care of changing the text and formatting it.

Uses Highlight.js 9.12.0 from cloudflare cdn.


Framework Support
Vaadin 8.0+
Browser Independent
Install with
Release notes - Version 9.12.0-0