CodeLanguageModel

12 Sep 20251 minute to read

Configuration for a code block’s language, used for syntax highlighting.

Properties

label string

Specifies the label to display in the language selector dropdown.
This is typically a user-friendly name corresponding to the language.

language string

Specifies the language value used for syntax highlighting.
For example, ‘javascript’, ‘python’, ‘html’, etc.