# Languages Language support for the code editor: syntax aware indentation, bracket matching, folding and completion. ## Installation ```bash npx shadcn@latest add litingyes/blocove/code-editor-languages ``` This example also uses: `code-editor`. ```bash npx shadcn@latest add litingyes/blocove/code-editor ``` Language support parses the document for indentation, bracket matching and folding. Colors are not part of it: pair it with code-editor-shiki for highlighting. Supported languages: css, html, javascript (js), json (jsonc), jsx, markdown (md), tsx, typescript (ts). ## API Reference ### CodeEditorLanguages Declares the language extension for the document. The grammar loads the first time the language is used. | Prop | Type | Default | | --- | --- | --- | | `language` | `string` | `root language` | ## Registry dependencies - `litingyes/blocove/code-editor-extension` Namespace: `npx shadcn@latest add @blocove/code-editor-languages`