PackageTrack
Sign in Get early access

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 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. 2.5.2 24 Nov 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.5.1...2.5.2

    Open source →
    Release notes

    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

    Open source →
  2. 2.5.1 13 Jan 2025
    Release notes

    What's Changed

    • Fix: Make parameter nullable to fix PHP 8.4 deprecation notice by @nicoverbruggen in #14

    New Contributors

    Full Changelog: 2.5.0...2.5.1

    Open source →
    Release notes

    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

    Open source →
  3. 2.5.0 12 Nov 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.4.0...2.5.0

    Open source →
    Release notes

    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

    Open source →
  4. 2.4.0 11 Apr 2024
    Release notes
    • Add a way to throw on exceptions

    Full Changelog: 2.3.0...2.4.0

    Open source →
    Release notes
    • Add a way to throw on exceptions

    Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.3.0...2.4.0

    Open source →
  5. 2.3.0 19 Feb 2024
    Release notes
    • Change dependency to shiki-php ^2.0

    Full Changelog: 2.2.0...2.3.0

    Open source →
    Release notes
    • Change dependency to shiki ^2.0

    Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.2.0...2.3.0

    Open source →
  6. 2.2.0 17 Feb 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.1.1...2.2.0

    Open source →
    Release notes

    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 Shiki object 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

    Open source →
  7. 2.1.1 28 Nov 2022
    Release notes
    • Fixes a potential XSS issue when highlighting fails

    Full Changelog: 2.1.0...2.1.1

    Open source →
    Release notes
    • Fixes a potential XSS issue when highlighting fails

    Full Changelog: https://github.com/spatie/commonmark-shiki-highlighter/compare/2.1.0...2.1.1

    Open source →
  8. 2.1.0 13 Jan 2022
    Release notes

    What's Changed

    Full Changelog: 2.0.0...2.1.0

    Open source →
  9. 2.0.0 05 Aug 2021
    Release notes
    • upgrade to support commonmark 2.0
    Open source →
    Release notes
    • upgrade to support commonmark 2.0

    No changes to our API were made

    Open source →
  10. 1.1.1 11 Jul 2021
    Release notes
    • improve deps
    Open source →
    Release notes
    • improve deps
    Open source →
  11. 1.1.0 10 Jul 2021
    Release notes
    • You can now mark lines as highlighted, added, deleted or focus
    Open source →
  12. 1.0.0 09 Jul 2021
    Release notes
    • initial release
    Open source →
  13. 0.0.1 09 Jul 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive