代码块
Astro 的 <Code> 组件 的包装器, 带有自定义 Shiki 配置.
console.log('Hello, world!')import { Code } from 'starlight-theme-nova/components'
<Code lang="js" code={`console.log('Hello, world!')`} /><Code> 属性
Section titled “<Code> 属性”在 Astro 的 <Code> 组件 中, <Code> 组件接受相同的属性.