
Shiki Code Blocks
This handles syntax highlighting with Shiki, which means you get the same color themes VS Code uses but in your web app. The big wins here are server-side rendering support for React Server Components and automatic theme switching between light and dark modes without client-side flickering. You'd reach for this when you're building docs, a blog with code samples, or any site where you need beautiful code blocks that don't flash unstyled content on load. Shiki is slower than most highlighters because it uses real TextMate grammars, but doing it server-side solves that problem entirely.
- skills.sh installs
- 241
- GitHub stars
- 23
- last updated
- Aug 21, 2026
Install
$ npx -y skills add andrelandgraf/fullstackrecipes --skill shiki-code-blocks --agent claude-codeInstalls into .claude/skills of the current project.
Files
Shiki Code Blocks
Syntax highlight code blocks with Shiki. Supports server-side rendering in RSC and automatic light/dark theme switching.
curl https://fullstackrecipes.com/recipes/shiki-code-blocks.md
Sponsors
Details
- Repository
- github.com/andrelandgraf/fullstackrecipes
- Category
- Backend & APIs
- First seen
- Jun 3, 2026