Rehype Pretty Code is a tool for creating “beautiful code blocks” in Markdown or MDX documentation. It supports syntax highlighting and is often used with ecosystems like MDX and related workflows (for example via shiki-based highlighting).
Project status
- The GitHub history shows recent activity, with an upstream push on 2026-03-03 and a patch update (0.14.3) released the same day, suggesting the project is actively maintained.
- Apparent update cadence is roughly yearly to year-plus between the documented version bumps (0.14.0 in 2024-08, 0.14.1 in 2025-03, 0.14.3 in 2026-03), with patch releases used to track dependency and CI changes.
AI summary generated Today
Recent updates
rehype-pretty-code@0.14.3
3 months agorehype-pretty-code@0.14.3 is a patch release focused on upgrading Shiki support to Shiki 4, along with documentation updates for Shiki's renamed highlighter creation API. It also includes a CI workflow adjustment to accommodate npm OIDC trusted publishing.
Featuresrehype-pretty-code@0.14.1
3/14/2025rehype-pretty-code@0.14.1 updates its Shiki integration to use Shiki’s singleton highlighter API and declares support for Shiki 3. The main library change is in the core package where the default highlighter factory is switched to `getSingletonHighlighter`.
rehype-pretty-code@0.14.0
8/28/2024rehype-pretty-code@0.14.0 is a minor release that introduces an option to bypass inline code blocks. The provided release notes only document that change, and do not mention any other user-facing behavior changes.
Features