codehike icon indicating copy to clipboard operation
codehike copied to clipboard

Annotations doesn't seems to work when importing code from a file into a codeblock

Open aromko opened this issue 1 year ago • 4 comments

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: Bildschirmfoto 2024-08-30 um 10 19 00

When I remove // !focus(14:22) the code is loaded.

What am I doing wrong?

aromko avatar Aug 30 '24 08:08 aromko