Skip to content

CodeHighlighterComponent.setLanguage method

CodeHighlighterComponent › setLanguage

Sets the language for code highlighting.

Signature:

setLanguage(language: string): this

Parameters:

ParameterTypeDescription
languagestringThe language to set.

Returns: thisThe component.