Home / Extensions & Add-Ons / HighlightJs UI Extension
Text Rendering & Formatting

HighlightJs UI Extension

Syntax Highlighter

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

Oorian Extension

Status
Planned

The Oorian extension for HighlightJs UI Extension is under development and will be available with the framework release.

Priority
Rank #104

Implementation priority based on popularity, API complexity, and user demand.

Supported Version
TBD

The version of HighlightJs UI Extension that this extension supports.

Licensing
Open Source (BSD)

The licensing model for HighlightJs UI Extension. Check their official website for full license details.

Integration
Full API Access

Oorian extensions expose the complete HighlightJs UI Extension API through type-safe Java methods.

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 UI Extension with Oorian once the extension is available:

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

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

// Register for events using Oorian's event model
component.registerForEvent(this, HighlightJsUIExtensionEvent.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.

Ready to Use HighlightJs UI Extension?

Oorian makes it easy to integrate HighlightJs UI Extension into your Java web applications with type-safe extensions and real-time updates.