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