github happytodev/blogr v1.25.0

latest release: v1.26.0
4 hours ago

✨ Features

  • Syntax highlighting: server-side code block highlighting via Shiki PHP on all frontend pages (blog, CMS, docs, author) (#283)
  • Syntax highlighting: language badge displayed on code blocks
  • Syntax highlighting: optional line numbers (toggle in Blogr Settings → Content)
  • Syntax highlighting: dual theme support (light/dark) with automatic dark mode switching
  • Syntax highlighting: copy-to-clipboard button on code blocks (appears on hover)

🐛 Bug Fixes

  • Syntax highlighting: code blocks now render with proper syntax colors instead of plain text (#283)
  • Markdown: Str::markdown() calls replaced with MarkdownHelper::toHtml() for consistent Shiki rendering

🔧 Changed

  • Dependencies: added spatie/shiki-php ^2.4 (Composer) and shiki ^4.0.2 (npm)

Don't miss a new blogr release

NewReleases is sending notifications on new releases.