Interface: CodeBlockLanguage
A code block language entry with a name and optional aliases/extensions.
Compatible with CodeMirror's LanguageDescription from @codemirror/language-data.
Properties
| Property | Type | Description |
|---|---|---|
alias? | readonly string[] | Alternative identifiers for this language (e.g. ["js"] for JavaScript). |
extensions? | readonly string[] | File extensions associated with this language (e.g. ["js", "mjs"]). |
name | string | Display name shown in the language select dropdown. |