({ codeblock }: { codeblock: RawCode })
| 8 | } |
| 9 | |
| 10 | async function MyCode({ codeblock }: { codeblock: RawCode }) { |
| 11 | const highlighted = await highlight(codeblock, "github-dark") |
| 12 | return <Pre code={highlighted} handlers={[mark]} /> |
| 13 | } |
| 14 | |
| 15 | const mark: AnnotationHandler = { |
| 16 | name: "mark", |
nothing calls this directly
no test coverage detected
searching dependent graphs…