torchlight/torchlight-commonmark
Laravel extension for league/commonmark that highlights Markdown code fences with Torchlight. Works with CommonMark v1 and v2, integrates with GrahamCampbell/Laravel-Markdown or manual environments, and uses the Torchlight Laravel client for fast, JS-free highlighting.
data-lang as an attribute.)<<< path/to/file.php convention, you can now wrap it in a comment e.g. // <<<path/to.file.php.\Torchlight\Commonmark\TorchlightExtension in favor of the versioned \Torchlight\Commonmark\V1\TorchlightExtension and \Torchlight\Commonmark\V2\TorchlightExtension extensions<<< path/to/file.php convention.wrapped response from the API.torchlight/torchlight-laravel dependency.Torchlight::highlight instead of (new Client)->highlightregisterCustomBlockRenderer to useCustomBlockRenderer.theme:name syntax, e.g.:```php theme:dark-plus
// Use dark-plus for this block.
```
torchlight/torchlight-laravel dependency.torchlight/torchlight-laravel dependency.torchlight/commonmark to torchlight/torchlight-commonmarkFirst.
How can I help you explore Laravel packages today?