-
-
Notifications
You must be signed in to change notification settings - Fork 211
Closed
Labels
Description
What problem does this feature solve?
rspress
seems to support PL syntax highlighting by prismjs at the moment, hopefully the Shiki
plugin can be added as well. The advantage of supporting shiki
is that prism may can't support syntax highlighting for some less common programming languages in the short term, but if it supports the shiki
plugin, the corresponding syntax highlighting grammar can be applied to shiki
as long as it has a VSCode extension. And the Nushell official site is currently using this solution!
What does the proposed API look like?
Something like this: https://vuepress.github.io/reference/plugin/shiki.html