Code
A wrapper around Astro’s <Code>
component with custom Shiki configuration.
Preview
console.log('Hello, world!')
Usage
import { Code } from 'starlight-theme-nova/components'
<Code lang="js" code={`console.log('Hello, world!')`} />
<Code>
Props
The <Code>
component accepts the same props in Astro’s <Code>
component.