-
Notifications
You must be signed in to change notification settings - Fork 141
Add code highlighting for "use workflow" and "use step" directives in docs landing page #584
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
base: main
Are you sure you want to change the base?
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… Effortless Setup section Co-authored-by: pranaygp <[email protected]>
|
@copilot can we use the shiki transformer approach instead, just like we do in there set of the docs content pages. Let's be consistent with that - including visually consistency instead of creating new styling |
|
@copilot I meant shiki, not shake (that was my autocorrect sorry) |
Co-authored-by: pranaygp <[email protected]>
Updated to use the |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|

Adds visual highlighting to the directive strings in the "Effortless Setup" code examples to make them stand out, using the same Shiki notation transformer approach as the rest of the docs for consistency.
Changes
docs/app/(home)/components/code-block.tsx: UsetransformerNotationHighlightfrom@shikijs/transformersfor code highlightingdocs/app/(home)/components/implementation.tsx: Added// [!code highlight]notation to the directive linesdocs/package.json: Added@shikijs/transformersdependencyUsage
The code examples now use the standard Shiki notation for highlighting:
Screenshot
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.