Move to shiki and stabilize dual themes support#10130
Conversation
🦋 Changeset detectedLatest commit: 4bdd901 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
QQ: Wouldn't it make sense to add functionality such as decorators to the |
|
I guess we could too, along with transformers which is already supported in |
That'd be awesome! |
|
@bluwy @ematipico Can you fix conflicts and merge them into master? I can't wait to use the new Shiki :) |
|
I can fix them up later today, but this will only be merged for the next minor, which is scheduled some time next week. There shouldn't be any significant changes on the user-side though. |
sarah11918
left a comment
There was a problem hiding this comment.
Approving this (and the accompanying docs PR) for docs!
Changes
shikijihas been merged intoshiki1.0. This PR also moves back toshiki. There weren't any significant changes, so this PR is mainly package name change and small compat code added.markdown.shikiConfig.experimentalThemesis also stabilized asmarkdown.shikiConfig.themestogether with the move toshiki. It is not considered experimental byshikijiorshikianymore.Testing
Existing tests should pass
Docs
I've updated some links in the jsdoc to use the new site https://shiki.style. I've also made a docs PR: withastro/docs#6898