-
-
Notifications
You must be signed in to change notification settings - Fork 198
feat!: support shiki by default, drop prism support #2122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for rspress-v2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for rspress ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
So no runtime code highlights support anymore? |
The runtime component will increase the bundle size and will not be recorded in static data such as searchIndex. it is out of the control of Rspress literally, they are advanced usages So we can provide a Component with md syntax parsing at runtime just like |
44b69ed to
848cc03
Compare
b43ca4a to
a4fe043
Compare
a4fe043 to
f96da11
Compare
Timeless0911
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f96da11 to
6fc32f8
Compare

Summary
feat!: support shiki by default, drop prism support
TODO: add external demo of plugin-preview back
<code src="./component.jsx" />Related Issue
Checklist