-
Notifications
You must be signed in to change notification settings - Fork 80
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
Upgrade shiki #237
Comments
@brookslybrand could we use https://rehype-pretty.pages.dev/? I have swapped out the custom shiki for this in a fork and it works. I didn't try it with custom themes as with yours, however it does have a themes option which might work. |
I'm not totally against it, but since I didn't really build this part and try to not touch it too much since it's all working correctly, I'm a bit hesitant to change it. Do you think it'd just be more maintainable? I'm open to a PR |
@brookslybrand I have made some progress This uses the latests shiki and replaces ~230 with ~10. However, having trouble getting the line highlighting working and the numbered rows Left is website. Right is local. |
@brookslybrand I have it, using a framework and cutting out the code. Required changes to the MD meta strings
Other cosmetic differences:
|
Shiki, our code syntax highlighter, has undergone a number of upgrades since the current version we have (0.14.7). This is a major version upgrade, so there are some breaking changes
Migration guide
In order to stay up to date with bug fixes and the latest and greatest we should invest in upgrading this package
The text was updated successfully, but these errors were encountered: