spatie/commonmark-shiki-highlighter
League/CommonMark code block renderer that highlights fenced code using Shiki PHP. Includes extra Antlers and Blade grammars in addition to Shiki’s 100+ languages. Ideal for Laravel setups (see spatie/laravel-markdown). Requires JS shiki v1.
For Executives: *"This package lets us deliver polished, professional documentation with minimal effort. By integrating Shiki’s syntax highlighting into our Laravel-based Markdown tools, we can:
For Engineering: *"Spatie’s package wraps Shiki PHP (a battle-tested highlighter) into a CommonMark block renderer, so we get:
spatie/laravel-markdown.
Tradeoff: Minimal theming control (uses Shiki’s defaults), but we can extend it later if needed. Time to implement: 1–2 dev days for basic setup."*How can I help you explore Laravel packages today?