You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shiki has the transformers API and the @shikijs/transformers package. These transformers contain a lot of useful utilities (such as highlight) that would be amazing to have. I wrote a pnpm patch to try and add it, but it didn't seem to work:
This is pretty tricky, as magic-move is based on the highlighted tokens, but not the hast (in a way, say it runs before transformers). I am not sure if refactor this into hast-based would be possible - but before that happens, I'd say currently it's a limitation that magic-move doesn't work well with transformers.
Shiki has the transformers API and the
@shikijs/transformers
package. These transformers contain a lot of useful utilities (such as highlight) that would be amazing to have. I wrote a pnpm patch to try and add it, but it didn't seem to work:/patches/[email protected]
The text was updated successfully, but these errors were encountered: