HighlightLanguageInfo

data class HighlightLanguageInfo(val name: String, val aliases: List<String>)

Metadata returned by HighlightEngine.getLanguage.

Contains the human-readable display name plus any registered aliases for the requested language.

Constructors

Link copied to clipboard
constructor(name: String, aliases: List<String>)

Properties

Link copied to clipboard

Registered aliases for the language.

Link copied to clipboard

Human-readable display name from Highlight.js (e.g. "Kotlin", "Python"). This is NOT the language identifier - use aliases or the name you passed to HighlightEngine.getLanguage as the identifier for highlighting calls.