-
-
Notifications
You must be signed in to change notification settings - Fork 588
Description
Hello @octref 😄
Thanks for this amazing project!
We are trying to use it as a syntax highlighter on the Docus project at NuxtLabs, which will most likely be ported as @nuxt/content v2 at some point.
We are using latest updates from Nuxt (Nuxt 3 beta and Nuxt Bridge) in that project, as this is made to be deployed on a CloudFlare worker environment.
While using Shiki, we encountered an issue in which it fallbacks to Node loader as it does not detect CloudFlare environment.
Here is the line that seem to be in cause:
https://github.com/shikijs/shiki/blob/main/packages/shiki/src/loader.ts#L49
Is CloudFlare Workers support planned for Shiki?
If so, maybe we could help on a PR supporting that use case!
cc: @farnabaz