spatie/commonmark-shiki-highlighter
Highlight code blocks with league/commonmark and Shiki
2.5.2
4.5M downloads/mo
#1563 most downloaded on Packagist
spatie/commonmark-shiki-highlighter
What this package is like to depend on
Last release 9 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
1 release in the last 12 months
see the full history below
Release timeline
13 releases · Jul 2021 to Nov 2025Releases
latest 13-
2.5.224 Nov 2025Release notes
Open source →What's Changed
- Update issue template by @AlexVanderbist in #15
- Added Symfony 8 support to all symfony/* packages. by @thecaliskan in #18
New Contributors
- @AlexVanderbist made their first contribution in #15
Full Changelog: 2.5.1...2.5.2
Release notes
Open source →What's Changed
- Update issue template by @AlexVanderbist in https://github.com/spatie/commonmark-shiki-highlighter/pull/15
- Added Symfony 8 support to all symfony/* packages. by @thecaliskan in https://github.com/spatie/commonmark-shiki-highlighter/pull/18
New Contributors
- @AlexVanderbist made their first contribution 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
-
2.5.113 Jan 2025Release notes
Open source →What's Changed
- Fix: Make parameter nullable to fix PHP 8.4 deprecation notice by @nicoverbruggen in #14
New Contributors
- @nicoverbruggen made their first contribution in #14
Full Changelog: 2.5.0...2.5.1
Release notes
Open source →What's Changed
- Fix: Make parameter nullable to fix PHP 8.4 deprecation notice by @nicoverbruggen in https://github.com/spatie/commonmark-shiki-highlighter/pull/14
New Contributors
- @nicoverbruggen made their first contribution 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
-
2.5.012 Nov 2024Release notes
Open source →What's Changed
- feat: support (at least) dual themes by @Barbapapazes in #13
New Contributors
- @Barbapapazes made their first contribution in #13
Full Changelog: 2.4.0...2.5.0
Release notes
Open source →What's Changed
- feat: support (at least) dual themes by @Barbapapazes in https://github.com/spatie/commonmark-shiki-highlighter/pull/13
New Contributors
- @Barbapapazes made their first contribution 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
-
2.4.011 Apr 2024Release notes
Open source →- Add a way to throw on exceptions
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.3.0...2.4.0
-
2.3.019 Feb 2024Release notes
Open source →- Change dependency to shiki ^2.0
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.2.0...2.3.0
-
2.2.017 Feb 2024Release notes
Open source →What's Changed
- Add line break by @maximal in #8
- Update README.md by @joshbruce in #9
- Allow Symfony 7.x by @thecaliskan in #11
- feat: allow creating extension with instantiated
Shikiobject by @kbond in #12
New Contributors
- @maximal made their first contribution in #8
- @joshbruce made their first contribution in #9
- @thecaliskan made their first contribution in #11
- @kbond made their first contribution in #12
Full Changelog: 2.1.1...2.2.0
Release notes
Open source →What's Changed
- Add line break by @maximal in https://github.com/spatie/commonmark-shiki-highlighter/pull/8
- Update README.md by @joshbruce in https://github.com/spatie/commonmark-shiki-highlighter/pull/9
- Allow Symfony 7.x by @thecaliskan in https://github.com/spatie/commonmark-shiki-highlighter/pull/11
- feat: allow creating extension with instantiated
Shikiobject by @kbond in https://github.com/spatie/commonmark-shiki-highlighter/pull/12
New Contributors
- @maximal made their first contribution in https://github.com/spatie/commonmark-shiki-highlighter/pull/8
- @joshbruce made their first contribution in https://github.com/spatie/commonmark-shiki-highlighter/pull/9
- @thecaliskan made their first contribution in https://github.com/spatie/commonmark-shiki-highlighter/pull/11
- @kbond made their first contribution in https://github.com/spatie/commonmark-shiki-highlighter/pull/12
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.1.1...2.2.0
-
2.1.128 Nov 2022Release notes
Open source →- Fixes a potential XSS issue when highlighting fails
Full Changelog: 2.1.0...2.1.1
Release notes
Open source →- Fixes a potential XSS issue when highlighting fails
Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.1.0...2.1.1
-
2.1.013 Jan 2022Release notes
Open source →What's Changed
- Allow symfony 6
- Update README.md by @alexanderglueck in #6
Full Changelog: 2.0.0...2.1.0
-
2.0.005 Aug 2021 -
1.1.111 Jul 2021 -
1.1.010 Jul 2021 -
1.0.009 Jul 2021 -
0.0.109 Jul 2021Nothing published for this version