ページ · Laravilt
CodeEntry
Syntax-highlighted code blocks.
Displays a syntax-highlighted code block.
php
API reference
| Method | Description |
|---|---|
language(string) | Any language name |
json() / php() / javascript() / typescript() / python() / sql() / yaml() / html() / css() | Shortcuts |
lineNumbers(bool) | Line numbers |
maxHeight(int) | Maximum height in pixels |
copyable(bool) | Copy button |