Skip to content

Feature: Add Vercel docs highlighting - #30

Open
dbzx10299 wants to merge 3 commits into
comarkdown:mainfrom
dbzx10299:feature/vercel-docs-highlighting
Open

Feature: Add Vercel docs highlighting#30
dbzx10299 wants to merge 3 commits into
comarkdown:mainfrom
dbzx10299:feature/vercel-docs-highlighting

Conversation

@dbzx10299

Copy link
Copy Markdown

The Comark docs look quite nice already, but since the Comark docs layer is meant to look similar to Vercel, I added highlighting just like the Vercel docs use. I did this with Shiki's cssVars theme and also with Rangi's css theme. The benefit to this is that we can use the oklch color space to make the colors pop a lot more.

Shiki's css color theme does seem to tokenize the code a bit more than Rangi but given Rangi's small size it may be a better tradeoff to keep it. If we use Shiki in the api route we would have 1:1 highlighting with Vercel.

I also made sure this uses the light and dark oklch theme variables.

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

@dbzx10299 is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant