--- // Highlighted code block with a copy button — used by CodeDocs. import Icon from '@ui/Icon.astro' import { highlightCode } from '@shared/lib/code-example' interface Props { /** The code to display. */ code: string /** Shiki language used for highlighting. */ lang: string } const { code, lang } = Astro.props const highlighted = await highlightCode(code, lang) ---