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.
Full Changelog: https://github.com/torchlight-api/torchlight-commonmark-php/compare/v0.5.5...v0.6.0
Full Changelog: https://github.com/torchlight-api/torchlight-commonmark-php/compare/v0.5.4...v0.5.5
Full Changelog: https://github.com/torchlight-api/torchlight-commonmark-php/compare/v0.5.3...v0.5.4
data-lang as an attribute.)Full Changelog: https://github.com/torchlight-api/torchlight-commonmark-php/compare/v0.5.2...v0.5.3
<<< 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.
```
See changelog
See changelog.
Initial release 🎉
How can I help you explore Laravel packages today?