spatie/shiki-php
Use Shiki syntax highlighting from PHP. Highlight code snippets with editor-quality themes and 100+ languages, plus Antlers and Blade. Works great with Laravel via spatie/laravel-markdown and CommonMark through a companion extension.
Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.3...2.4.0
This fixes the proc_open(): posix_spawn() failed: Argument list too long error that occurred when highlighting large code blocks.
Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.1...2.3.2
Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.0...2.3.1
Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.2...2.3.0
token.htmlStyle by @Barbapapazes in https://github.com/spatie/shiki-php/pull/28Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.1...2.2.2
Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.0...2.2.1
Full Changelog: https://github.com/spatie/shiki-php/compare/2.1.0...2.2.0
getAvailableLanguages, getAvailableThemes, languageIsAvailable and themeIsAvailable by @s3ththompson in https://github.com/spatie/shiki-php/pull/23Full Changelog: https://github.com/spatie/shiki-php/compare/2.0.0...2.1.0
getAvailableLanguages, getAvailableThemes, languageIsAvailable and themeIsAvailable methods have been removed. These are no longer necessary as Shiki 1.0 lazy loads these when necessary.Full Changelog: https://github.com/spatie/shiki-php/compare/1.3.0...2.0.0
Full Changelog: https://github.com/spatie/shiki-php/compare/1.2.0...1.3.0
highlighted, added, deleted or focusFull Changelog: https://github.com/spatie/shiki-php/compare/1.1.7...1.2.0
How can I help you explore Laravel packages today?