-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Shiki once more #770
Shiki once more #770
Conversation
@lishaduck is attempting to deploy a commit to the Effect Team on Vercel. A member of the Team first needs to authorize it. |
2060843
to
ec743bc
Compare
It still uses the classic renderer, but otherwise it works now. |
ec743bc
to
a670be8
Compare
I'm going to put the rich renderer into a different PR, it'll need some tweaking, and I'd rather have someone more design oriented figure out how they want to render it, as the default css looks pretty bad. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@lishaduck - thank you very much for all your work! I'll take a closer look tomorrow. Also cc'ing @gcanti for another set of 👀 validating the Shiki visuals. |
You're welcome! And honestly, thanks! I'd been wanting to do some more investigation into Shiki, and this was the perfect excuse 🙃 |
I looked through a bunch of the documentation and from my perspective this PR looks good. I'll wait for @gcanti to have a chance to review though. |
Oh yeah, and I didn't see changesets set up. Do I need to do that here? |
@lishaduck - no need to create a changeset - we don't version the website in that manner. |
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.
Looks like there are a couple of issues:
- the code block metadatas are not respected, for example here https://website-git-fork-lishaduck-shiki-once-more-effect-ts.vercel.app/docs/quickstart the code snippets should have a "Terminal" title (see https://effect.website/docs/quickstart for reference)
- the
@include
directive of twoslash is not respected, for example https://website-git-fork-lishaduck-shiki-once-more-effect-ts.vercel.app/docs/guides/error-management/expected-errors#error-tracking
Yeah, must've reordered too much.
EDIT: (Un)blocked on twoslashes/twoslash#47 |
I haven't forgotten about this, it's is blocked on shikijs/shiki#737 (and possibly shikijs/shiki#746) getting merged. EDIT: It's been merged, 🥳 |
Ok, been looking through the docs. Here's a list of issues for my own reference. Also, are we OK moving to contentlayer2 given Reimagining ContentLayer with Effect? Is there a contentlayer3 hanging around somewhere? |
a670be8
to
e0921cf
Compare
Closing as blocked on a separate contentlayer upgrade. |
Type
Description
Upgrade Shiki, which required upgrading the unified collective, which required switching to contentlayer2.
Related