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
In the documentation, it currently suggests installing both packages using:
npm install rehype-pretty-code shiki
However, after installing both, I encountered some issues because Shiki v3 changed its API (specifically getSingletonHighlighter)
and in latest version(0.14.0), it is not updated yet.
and rehype-pretty-code relies on dependencies and peerDependencies for a specific version of Shiki, so I think installing both is not necessary.