Repository navigation
feat(site): draw code blocks as white cards with one header row and one fold - #640
Merged
Merged
Conversation
aicayzer
force-pushed
the
ui/code-blocks
branch
from
October 25, 2026 16:32
2db4835 to
083c239
Compare
aicayzer
commented
Oct 25, 2026
aicayzer
left a comment
Contributor
Author
There was a problem hiding this comment.
Review: checks only
Styling change, looked at in the browser by the builder and again by the session; build, type check and tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restyles code blocks, the Terminal block and the fold rule to the approved design. No page prose changes.
What changes for a reader
title, or "Terminal") or, for code tabs, soft pill tabs, with a Copy button at the right. A block with no title and no tabs gets a header row with Copy only.note="Server-sent events") or a status chip (status="200", drawn "200 OK"; green for 2xx, red for 4xx and 5xx) in the header.sselanguage colours an event stream's field names and itsdata:JSON.Fence syntax
The Markdown copy prints the note or status above the block, such as "Response (Server-sent events):" and "Response (200 OK):".
Checked
/guides/keep-in-syncand/quickstart./guides/keep-in-sync.md.pnpm build,pnpm build:status,pnpm types:check,pnpm test(700 tests) pass.Not checked
note,statusorsseyet; the checks above used temporary edits to the guide that are not in this pull request.STYLE.mdis updated for the Terminal, fold, title, note and status rules and the Markdown copy.