Open ymc9 opened 1 year ago
@ymc9 I just had the same problem, but I figured it out. Not sure if it will help in your case, but if you just want the highlighting, shiki has it's own way:
```ts twoslash {1, 3-4}
function greet(person: string) {
console.log(`Hello ${person},`)
console.log(`How do?`)
}
greet("Maddison")
```
Hi,
Docusaurus2 has this nice thing called "magic comments" that adds styling to code blocks (like line highlighting etc.) with comments. It seems that whenever I enable shiki-twoslash plugin, magic comments stops working.
Is this a known issue? Thanks!