الصفحات · Laravilt
CodeEditor
Syntax-highlighted code editor built on CodeMirror 6.
A code editor with syntax highlighting, built on CodeMirror 6.
php
language() accepts a Language enum case or its string value. The cases include javascript, typescript, php, python, java, html, css, json, xml, yaml, markdown, sql, bash, vue, jsx and more.
API reference
| Method | Description |
|---|---|
language(Language|string) | Syntax mode |
darkTheme() / lightTheme() | Editor theme |
readonly() | Read-only mode |