shiki-code-blocks

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Shiki Code Blocks

Shiki代码块

Syntax highlight code blocks with Shiki. Supports server-side rendering in RSC and automatic light/dark theme switching.
bash
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/shiki-code-blocks
使用Shiki为代码块添加语法高亮。支持在RSC中进行服务端渲染,以及自动切换明暗主题。
bash
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/shiki-code-blocks