({ codeblock }: { codeblock: RawCode })
| 14 | } |
| 15 | |
| 16 | async function MyCode({ codeblock }: { codeblock: RawCode }) { |
| 17 | const highlighted = await highlight(codeblock, "github-dark") |
| 18 | return <Pre code={highlighted} handlers={[line]} /> |
| 19 | } |
| 20 | |
| 21 | const line: AnnotationHandler = { |
| 22 | name: "line", |
nothing calls this directly
no test coverage detected
searching dependent graphs…