Rehype Pretty Code is a Rehype plugin powered by the Shiki syntax highlighter that provides beautiful code blocks for Markdown or MDX. It works on both the server at build-time (avoiding runtime syntax highlighting) and on the client for dynamic highlighting. Enjoy the accuracy and granularity of VS Code’s syntax highlighting engine and the popularity of its themes ecosystem - use any VSCode theme you want.
Features
- Line Numbers and Line Highlighting
- Editor-Grade Highlighting
- Documentation available
- Word Highlighting
- Inline Code Highlighting
- Context Aware Inline Code
- ANSI Highlighting
Categories
Markdown EditorsLicense
MIT LicenseFollow Rehype Pretty Code
Other Useful Business Software
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Rehype Pretty Code!