codehike
codehike copied to clipboard
Annotations doesn't seems to work when importing code from a file into a codeblock
Hey, I'm trying to use annotations when importing code from a file. It works in the old version but in the new version it seems that I'm missing something.
I tried this:
<CH.Code style={{ height: 500 }}>
`tsx TabsActionExample.tsx use-v1
// !focus(14:22)
!from ./_components/TabsActionExample.tsx
`
`tsx Link.tsx
// from ./_components/Link.tsx
`
</CH.Code>
This leads to:
When I remove // !focus(14:22) the code is loaded.
What am I doing wrong?