HighlightJs

UI Extension

Highlight.js is a syntax highlighter with automatic language detection and support for 190+ languages with customizable themes.

Status
Planned
Supported Version
TBD
Licensing
Open Source
Priority
Rank #104
KEY FEATURES
190+ languages
Automatic detection
Customizable themes
Zero dependencies
Web Worker support
Line numbers
Custom languages
Usage Example

Here's how you'll use HighlightJs with Oorian once the extension is available:

Java
// Create and configure HighlightJs component
HighlightJs component = new HighlightJs();
component.setWidth("100%");
component.setHeight("400px");

// Configure component options
component.setEnabled(true);

// Register for events using Oorian's event model
component.registerForEvent(this, HighlightJsEvent.class);

// Add to your page
container.addElement(component);

Note: This is a preview of the expected API. The actual implementation may vary slightly when released.