页面 · Laravilt
CodeEntry
Code blocks with syntax highlighting
Code blocks with syntax highlighting using Shiki.
Basic Usage
php
Language Support
php
Custom Language
php
Display Options
php
API Reference
| Method | Description |
|---|---|
language() | Set language |
php() | PHP syntax |
javascript() | JS syntax |
json() | JSON syntax |
typescript() | TS syntax |
lineNumbers() | Show line numbers |
maxHeight() | Max height |
copyable() | Enable copy |