CodeBlockSettingsModel

16 Dec 20251 minute to read

Interface for a class CodeBlockSettings

Properties

defaultLanguage string

Specifies the default language to use for syntax highlighting.
This is the language that will be selected by default in the language selector dropdown.

languages CodeLanguageModel[]

Specifies the languages available for syntax highlighting.
This is an array of objects, each containing a language value and a label.