lighter
lighter copied to clipboard
Code Highlight for Ruby when using string interpolation not properly working
Currently, using Code Hike in a Next.js project that serves code snippets for certain SDKs. Issue is that when trying to use interpolated strings in ruby, the highlight is not working properly (See attached screenshot)
Current behavior using code-hike:
This is the same snippet, and how it looks in a Replit project:
theme-used: 'github-dark' code-hike version: 1.0.1 next.js version: 14.2.25
We use the grammars from https://github.com/shikijs/textmate-grammars-themes. Can you check the playground there?
@pomber On that playground text looks good, and the interpolation is highlighted correctly.