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