rehype-pretty-code
rehype-pretty-code copied to clipboard
Can't highlight not first word in line
Here is the code:
```ts /Hello/4
const x: string = 'Hello world';
let y = 'Hello mama';
console.log(x + ' ' + y); // Hello world Hello mama
```
Expected result - Should highlight the second Hello
at last line
Actual result - Doesn't highlight the second Hello
at last line
When I change the number from 4
to 3
it works perfectly