Interface: CodeBlockLanguage

A code block language entry with a name and optional aliases/extensions. Compatible with CodeMirror's LanguageDescription from @codemirror/language-data.

Properties

PropertyTypeDescription
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"]).
namestringDisplay name shown in the language select dropdown.