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
The part of docs about customizing built-in shiki is still confusing... So I tried to copy the code provided in shiki's documentation and import it directly into vite's config, the compiler said that I cannot use async in top-phrase of CJS, but except that I don't know how to let shiki know my custom language while vitepress starts up.
BTW the custom language I'm trying to add is SkriptLang, a script language for Bukkit Minecraft Servers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The part of docs about customizing built-in shiki is still confusing... So I tried to copy the code provided in shiki's documentation and import it directly into vite's config, the compiler said that I cannot use async in top-phrase of CJS, but except that I don't know how to let shiki know my custom language while vitepress starts up.
BTW the custom language I'm trying to add is SkriptLang, a script language for Bukkit Minecraft Servers.
Beta Was this translation helpful? Give feedback.
All reactions