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
Scss language is supported by shiki, however it is not supported by content module.
In the given reproduction, it is not working when highlight the scss code blcok . It works after changing scss to css.
I think it is caused by the shiki version ,which needs to be upgraded from 0.10.0 to 0.10.1.
Not matter what language is not supported , it should't caused the crash.
Additional context
No response
Logs
[request error] No grammar provided for<source.css.scss>
at Registry.e._collectDependenciesForDep (./node_modules/shiki-es/dist/shiki.mjs:34:24999)
at Registry.eval (./node_modules/shiki-es/dist/shiki.mjs:34:25495)
at eval (./node_modules/shiki-es/dist/shiki.mjs:34:23016)
at Object.eval [as next] (./node_modules/shiki-es/dist/shiki.mjs:34:23125)
at s (./node_modules/shiki-es/dist/shiki.mjs:34:21828)
The text was updated successfully, but these errors were encountered:
Thank you so much @farnabaz
I have viewed that issue when this error encountered, but that issue seems not to be fixed.
The content.highlight.preload is still not working for me after I try some times.
I have changed the highlight plugin from shiki to highlight.js and I am waiting for this issue to be fixed.
Thank you again for your time.
Environment
Darwin
v16.15.0
3.0.0-rc.3
[email protected]
vite
modules
,styleResources
,css
,content
,colorMode
@nuxt/[email protected]
,@nuxtjs/[email protected]
-
Reproduction
https://stackblitz.com/edit/github-eqvgm9?file=content%2Findex.md
Describe the bug
Scss
language is supported by shiki, however it is not supported by content module.In the given reproduction, it is not working when highlight the
scss
code blcok . It works after changingscss
tocss
.I think it is caused by the shiki version ,which needs to be upgraded from 0.10.0 to 0.10.1.
Not matter what language is not supported , it should't caused the crash.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: