NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1703 most downloaded on Packagist
Highlight code blocks with league/commonmark and Shiki
Latest stable
2.5.2
Last release 12 months ago
24 Nov 2025
Release timing varies
gaps range from 4 weeks to 1.2 years
Nearly every release is documented
notes for 12 of 13 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
13 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Update issue template by @AlexVanderbist in https://github.com/spatie/commonmark-shiki-highlighter/pull/15
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.5.1...2.5.2
Fix: Make parameter nullable to fix PHP 8.4 deprecation notice by @nicoverbruggen in https://github.com/spatie/commonmark-shiki-highlighter/pull/14
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.5.0...2.5.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
feat: support (at least) dual themes by @Barbapapazes in https://github.com/spatie/commonmark-shiki-highlighter/pull/13
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.4.0...2.5.0
Add a way to throw on exceptions
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.3.0...2.4.0
Change dependency to shiki-php ^2.0
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.2.0...2.3.0
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.2.0...2.3.0
Add line break by @maximal in https://github.com/spatie/commonmark-shiki-highlighter/pull/8
Shiki object by @kbond in https://github.com/spatie/commonmark-shiki-highlighter/pull/12Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.1.1...2.2.0
Fixes a potential XSS issue when highlighting fails
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.1.0...2.1.1
Update README.md by @alexanderglueck in https://github.com/spatie/commonmark-shiki-highlighter/pull/6
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.0.0...2.1.0
upgrade to support commonmark 2.0
improve deps
You can now mark lines as highlighted, added, deleted and focus
highlighted, added, deleted and focus- initial release
Nothing published for this version
One column per quarter.